Path createSourcespath() { if (sourcesPath == null) { sourcesPath = new Path(getProject()); } return sourcesPath.createPath(); } /** * Gets the sourcepath. * @return the sources path * @deprecated since 1.6.x. */ public Path getSourcespath() { return sourcesPath; } /** * Adds a path to class code to analyze. * @return a classes path */ public Path createClassespath() { if (classesPath == null) { classesPath = new Path(getProject()); } return classesPath.createPath();
Path createClasspath() { if (classpath == null) { classpath = new Path(getProject()); } return classpath.createPath(); } /** * Get the classpath to the weblogic classpaths * @return a path to be configured */ public Path createWLClasspath() { if (weblogicClasspath == null) { weblogicClasspath = new Path(getProject()); } return weblogicClasspath.createPath();
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/jdepend/JDependTask.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/WLRun.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
Path createSourcespath() {
1
Path createClasspath() {
2
        if (sourcesPath == null) {
2
        if (classpath == null) {
3
            sourcesPath = new Path(getProject());
3
            classpath = new Path(getProject());
4
        }
4
        }
5
        return sourcesPath.createPath();
5
        return classpath.createPath();
6
    }
6
    }
7
    /**
7
    /**
8
     * Gets the sourcepath.
8
     * Get the 
9
     * @return the sources path
10
     * @deprecated since 1.6.x.
11
     */
12
    public Path getSourcespath() {
9
classpath to the weblogic classpaths
13
        return sourcesPath;
10
     * @return 
14
    }
15
    /**
16
     * Adds a path to class code to analyze.
17
     * @return a classes path
11
a path to be configured
18
     */
12
     */
19
    public Path createClassespath() {
13
    public Path createWLClasspath() {
20
        if (classesPath == null) {
14
        if (weblogicClasspath == null) {
21
            classesPath = new Path(getProject());
15
            weblogicClasspath = new Path(getProject());
22
        }
16
        }
23
        return classesPath.createPath();
17
        return weblogicClasspath.createPath();
24
    
18
    
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