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;
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;
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/Javah.java
|
|
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/scm/AntStarTeamCheckOut.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public void setForce(boolean force) {↵ | | 1 | public void setForce(boolean force) {↵
|
2 | this.force = force;↵ | | 2 | this.force = force;↵
|
3 | }↵ | | 3 | }↵
|
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Whether output files should always be written.↵ | | 5 | * Gets the <CODE>force</CODE> attribute.↵
|
| | | 6 | *↵
|
6 | * @return the force attribute.↵ | | 7 | * @return ↵
|
7 | * @since Ant 1.6.3↵ | | 8 | whether to continue if the target directory exists.↵
|
| | | 9 | * @see #setForce(boolean)↵
|
8 | */↵ | | 10 | */↵
|
9 | public boolean getForce() {↵ | | 11 | public boolean getForce() {↵
|
10 | return force; | | 12 | return force;
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |