Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
22 | 2 | 2 | 0.954 | nested_class_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 22 | 219 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/filters/LineContains.java |
2 | 22 | 199 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/filters/StripLineComments.java |
| |||||
/** * Holds a contains element */ public static class Contains { /** User defined contains string */ private String value; /** * Sets the contains string * * @param contains The contains string to set. * Must not be <code>null</code>. */ public final void setValue(String contains) { value = contains; } /** * Returns the contains string. * * @return the contains string for this element */ public final String getValue() { return value; } } |
| |||||
/** * The class that holds a comment representation. */ public static class Comment { /** The prefix for a line comment. */ private String value; /** * Sets the prefix for this type of line comment. * * @param comment The prefix for a line comment of this type. * Must not be <code>null</code>. */ public final void setValue(String comment) { value = comment; } /** * Returns the prefix for this type of line comment. * * @return the prefix for this type of line comment. */ public final String getValue() { return value; } } |
| |||
/** * Holds a contains element */ /** * The class that holds a comment representation. */ public static class [[#variable13165a40]]{ /** User defined contains string */ /** The prefix for a line comment. */ private String value; /** * Sets the contains string * * @param contains The contains string to set. * Must not be <code>null</code>. */ /** * Sets the prefix for this type of line comment. * * @param comment The prefix for a line comment of this type. * Must not be <code>null</code>. */ public final void setValue(String [[#variable131659a0]]) { value = [[#variable131659a0]]; } /** * Returns the contains string. * * @return the contains string for this element */ /** * Returns the prefix for this type of line comment. * * @return the prefix for this type of line comment. */ public final String getValue() { return value; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#13165a40]] | Contains |
1 | 2 | [[#13165a40]] | Comment |
2 | 1 | [[#131659a0]] | contains |
2 | 2 | [[#131659a0]] | comment |