private Boolean value = null;
/**
* set the value to be tested; let ant eval it to true/false
* @param value the value to test
*/
public void setValue(boolean value) {
this.value = value ? Boolean.TRUE : Boolean.FALSE
private Boolean value = null;
/**
* set the value to be tested; let ant eval it to true/false
* @param value the value to test
*/
public void setValue(boolean value) {
this.value = value ? Boolean.TRUE : Boolean.FALSE
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/condition/IsFalse.java
|
|
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/condition/IsTrue.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | private Boolean value = null;↵ | | 1 | private Boolean value = null;↵
|
|
2 | /**↵ | | 2 | /**↵
|
3 | * set the value to be tested; let ant eval it to true/false↵ | | 3 | * set the value to be tested; let ant eval it to true/false↵
|
4 | * @param value the value to test↵ | | 4 | * @param value the value to test↵
|
5 | */↵ | | 5 | */↵
|
6 | public void setValue(boolean value) {↵ | | 6 | public void setValue(boolean value) {↵
|
7 | this.value = value ? Boolean.TRUE : Boolean.FALSE | | 7 | this.value = value ? Boolean.TRUE : Boolean.FALSE
|
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 |