Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.976 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 460 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/MacroDef.java |
2 | 11 | 601 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/MacroDef.java |
| |||||
/** * The optional attribute of the text element. * * @param optional if true this is optional */ public void setOptional(boolean optional) { this.optional = optional; } /** * @return true if the text is optional */ public boolean getOptional() { return optional; } |
| |||||
/** * Sets whether this element is optional. * * @param optional if true this element may be left out, default * is false. */ public void setOptional(boolean optional) { this.optional = optional; } /** * Gets whether this element is optional. * * @return the optional attribute */ public boolean isOptional() { return optional; } |
| |||
/** * The optional attribute of the text element. * * @param optional if true this is optional */ /** * Sets whether this element is optional. * * @param optional if true this element may be left out, default * is false. */ public void setOptional(boolean optional) { this.optional = optional; } /** * @return true if the text is optional */ /** * Gets whether this element is optional. * * @return the optional attribute */ public boolean [[#variable112067e0]]() { return optional; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#112067e0]] | getOptional |
1 | 2 | [[#112067e0]] | isOptional |