public void setNegate(boolean b) {
negate = b;
}
/**
* Find out whether we have been negated.
* @return boolean negation flag.
*/
public boolean isNegated() {
return negate
public void setNegate(boolean b) {
negate = b;
}
/**
* Find out whether we have been negated.
* @return boolean negation flag.
*/
public boolean isNegated() {
return negate
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/filters/LineContains.java
|
|
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/filters/LineContainsRegExp.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public void setNegate(boolean b) {↵ | | 1 | public void setNegate(boolean b) {↵
|
2 | negate = b;↵ | | 2 | negate = b;↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Find out whether we have been negated.↵ | | 5 | * Find out whether we have been negated.↵
|
6 | * @return boolean negation flag.↵ | | 6 | * @return boolean negation flag.↵
|
7 | */↵ | | 7 | */↵
|
8 | public boolean isNegated() {↵ | | 8 | public boolean isNegated() {↵
|
9 | return negate | | 9 | return negate
|
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 |