public Path createClasspath() { if (isReference()) { throw noChildrenAllowed(); } if (this.classpath == null) { this.classpath = new Path(getProject()); } return this.classpath.createPath();
public final Path createClasspath() { if (isReference()) { throw noChildrenAllowed(); } if (this.classpath == null) { this.classpath = new Path(getProject()); } return this.classpath.createPath();
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/types/Mapper.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/types/selectors/ExtendSelector.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public Path createClasspath() {
1
public final Path createClasspath() {
2
        if (isReference()) {
2
        if (isReference()) {
3
            throw noChildrenAllowed();
3
            throw noChildrenAllowed();
4
        }
4
        }
5
        if (this.classpath == null) {
5
        if (this.classpath == null) {
6
            this.classpath = new Path(getProject());
6
            this.classpath = new Path(getProject());
7
        }
7
        }
8
        return this.classpath.createPath();
8
        return this.classpath.createPath();
9
    
9
    
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 location
Number of node comparisons0