if (Modifier.isAbstract(taskClass.getModifiers())) { final String message = taskClass + " is abstract"; log(message, Project.MSG_ERR); throw new BuildException(message); }
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/Project.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/Project.java
Method name: void checkTaskClass(Class) Method name: void checkTaskClass(Class)
Number of AST nodes: 0 Number of AST nodes: 4
1
if (Modifier.isAbstract(taskClass.getModifiers())) {
2
            final String message = taskClass + " is abstract";
3
            log(message, Project.MSG_ERR);
4
            throw new BuildException(message);
5
        }
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.0
Clones locationClones are in the same method
Number of node comparisons0