Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 0 | 1.000 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 232 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/EchoProperties.java |
2 | 17 | 312 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java |
| |||||
/** * Set the output format - xml or text. * @param ea an enumerated <code>FormatAttribute</code> value */ public void setFormat(FormatAttribute ea) { format = ea.getValue(); } /** * A enumerated type for the format attribute. * The values are "xml" and "text". */ public static class FormatAttribute extends EnumeratedAttribute { private String[] formats = new String[] { "xml", "text" }; /** * @see EnumeratedAttribute#getValues() * @return accepted values */ public String[] getValues() { return formats; } } |
| |||||
/** * The format to write the output in, "xml" or "text". * * @param ea xml or text */ public void setFormat(FormatAttribute ea) { format = ea.getValue(); } /** * A class for the enumerated attribute format, * values are xml and text. * @see EnumeratedAttribute */ public static class FormatAttribute extends EnumeratedAttribute { private String[] formats = new String[] { "xml", "text" }; /** * @return the enumerated values */ public String[] getValues() { return formats; } } |
| |||
/** * The format to write the output in, "xml" or "text". * * @param ea xml or text */ /** * Set the output format - xml or text. * @param ea an enumerated <code>FormatAttribute</code> value */ public void setFormat(FormatAttribute ea) { format = ea.getValue(); } /** * A class for the enumerated attribute format, * values are xml and text. * @see EnumeratedAttribute */ /** * A enumerated type for the format attribute. * The values are "xml" and "text". */ public static class FormatAttribute extends EnumeratedAttribute { private String[] formats = new String[] { "xml", "text" }; /** * @return the enumerated values */ /** * @see EnumeratedAttribute#getValues() * @return accepted values */ public String[] getValues() { return formats; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |