if (action == SEND_FILES) { return GRANULARITY_MINUTE; }
if (adaptToClass != null) { if (adaptToClass.isAssignableFrom(o.getClass())) { return o; } }
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/net/FTP.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/AntTypeDefinition.java
Method name: long getMilliseconds(int) Method name: Object icreate(Project)
Number of AST nodes: 2 Number of AST nodes: 3
1
if (action == SEND_FILES) {
1
if (a
2
       
2
daptToClass != null) {
3
            if (adaptToClass.isAssignableFrom(o.getClass())) {
3
             return GRANULARITY_MINUTE;
4
                return o;
4
        
5
            }
5
        }
6
        }
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.1
Clones locationClones are in different classes
Number of node comparisons1