Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 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 | 11 | 281 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/Javah.java |
2 | 13 | 876 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/scm/AntStarTeamCheckOut.java |
| |||||
/** * If true, output files should always be written (JDK1.2 only). * @param force the value to use. */ public void setForce(boolean force) { this.force = force; } /** * Whether output files should always be written. * @return the force attribute. * @since Ant 1.6.3 */ public boolean getForce() { return force; } |
| |||||
/** * Sets the <CODE>force</CODE> attribute to the given value. * * @param force if true, it overwrites files in the target directory. By * default it set to false as a safeguard. Note that if the target * directory does not exist, this setting has no effect. * @see #getForce() */ public void setForce(boolean force) { this.force = force; } /** * Gets the <CODE>force</CODE> attribute. * * @return whether to continue if the target directory exists. * @see #setForce(boolean) */ public boolean getForce() { return force; } |
| |||
/** * Sets the <CODE>force</CODE> attribute to the given value. * * @param force if true, it overwrites files in the target directory. By * default it set to false as a safeguard. Note that if the target * directory does not exist, this setting has no effect. * @see #getForce() */ /** * If true, output files should always be written (JDK1.2 only). * @param force the value to use. */ public void setForce(boolean force) { this.force = force; } /** * Gets the <CODE>force</CODE> attribute. * * @return whether to continue if the target directory exists. * @see #setForce(boolean) */ /** * Whether output files should always be written. * @return the force attribute. * @since Ant 1.6.3 */ public boolean getForce() { return force; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |