Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.955 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 102 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/servlet/ServletUtilities.java |
2 | 5 | 125 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/servlet/ServletUtilities.java |
| |||||
/** * Sets the prefix for the temporary file names generated by this class. * * @param prefix the prefix (<code>null</code> not permitted). */ public static void setTempFilePrefix(String prefix) { if (prefix == null) { throw new IllegalArgumentException("Null \'prefix\' argument."); } ServletUtilities.tempFilePrefix = prefix; } |
| |||||
/** * Sets the prefix for the "one time" temporary file names generated by * this class. * * @param prefix the prefix (<code>null</code> not permitted). */ public static void setTempOneTimeFilePrefix(String prefix) { if (prefix == null) { throw new IllegalArgumentException("Null \'prefix\' argument."); } ServletUtilities.tempOneTimeFilePrefix = prefix; } |
| |||
/** * Sets the prefix for the "one time" temporary file names generated by * this class. * * @param prefix the prefix (<code>null</code> not permitted). */ /** * Sets the prefix for the temporary file names generated by this class. * * @param prefix the prefix (<code>null</code> not permitted). */ public static void [[#variable1a098240]](String prefix) { if (prefix == null) { throw new IllegalArgumentException("Null \'prefix\' argument."); } ServletUtilities. [[#variable1a0981c0]]= prefix; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1a098240]] | setTempFilePrefix |
1 | 2 | [[#1a098240]] | setTempOneTimeFilePrefix |
2 | 1 | [[#1a0981c0]] | tempFilePrefix |
2 | 2 | [[#1a0981c0]] | tempOneTimeFilePrefix |