public void setFailOnError(boolean b) {
failOnError = b;
}
/**
* query fail on error flag
*
*@return The failFailOnError value
*/
public boolean getFailOnError() {
return failOnError;
public void setFailOnError(boolean b) {
failOnError = b;
}
/**
* query fail on error flag
*
*@return The failFailOnError value
*/
public boolean getFailFailOnError() {
return failOnError;
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java
|
|
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/dotnet/NetCommand.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public void setFailOnError(boolean b) {↵ | | 1 | public void setFailOnError(boolean b) {↵
|
2 | failOnError = b;↵ | | 2 | failOnError = b;↵
|
3 | }↵ | | 3 | }↵
|
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * query fail on error flag↵ | | 5 | * query fail on error flag↵
|
6 | *↵ | | 6 | *↵
|
7 | *@return The failFailOnError value↵ | | 7 | *@return The failFailOnError value↵
|
8 | */↵ | | 8 | */↵
|
9 | public boolean getFailOnError() {↵ | | 9 | public boolean getFailFailOnError() {↵
|
10 | return failOnError; | | 10 | return failOnError;
|
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 |