CloneSet39


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17510.963class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
117138
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Classloader.java
217108
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/BorlandGenerateClient.java
317162
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java
417299
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Property.java
521364
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/util/ClasspathUtils.java
Next
Last
Clone Instance
1
Line Count
17
Source Line
138
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Classloader.java

/**
 * Set the classpath to be used when searching for component being defined
 *
 * @param classpath an Ant Path object containing the classpath.
 */
public void setClasspath(Path classpath) {
  if (this.classpath == null) {
    this.classpath = classpath;
  }
  else {
    this.classpath.append(classpath);
  }
}

/**
 * Create a classpath.
 * @return a path for configuration.
 */
public Path createClasspath() {
  if (this.classpath == null) {
    this.classpath = new Path(null);
  }
  return this.classpath.createPath();
}


Next
Previous
Clone Instance
2
Line Count
17
Source Line
108
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/BorlandGenerateClient.java

/**
 * Path to use for classpath.
 * @param classpath the path to use.
 */
public void setClasspath(Path classpath) {
  if (this.classpath == null) {
    this.classpath = classpath;
  }
  else {
    this.classpath.append(classpath);
  }
}

/**
 * Adds path to the classpath.
 * @return a path to be configured as a nested element.
 */
public Path createClasspath() {
  if (this.classpath == null) {
    this.classpath = new Path(getProject());
  }
  return this.classpath.createPath();
}


Next
Previous
Clone Instance
3
Line Count
17
Source Line
162
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java

/**
 * Specify the classpath to be searched to load the parser (optional)
 * @param classpath the classpath to load the parser
 */
public void setClasspath(Path classpath) {
  if (this.classpath == null) {
    this.classpath = classpath;
  }
  else {
    this.classpath.append(classpath);
  }
}

/**
 * @see #setClasspath
 * @return the classpath created
 */
public Path createClasspath() {
  if (this.classpath == null) {
    this.classpath = new Path(getProject());
  }
  return this.classpath.createPath();
}


Next
Previous
Clone Instance
4
Line Count
17
Source Line
299
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Property.java

/**
 * The classpath to use when looking up a resource.
 * @param classpath to add to any existing classpath
 */
public void setClasspath(Path classpath) {
  if (this.classpath == null) {
    this.classpath = classpath;
  }
  else {
    this.classpath.append(classpath);
  }
}

/**
 * The classpath to use when looking up a resource.
 * @return a path to be configured
 */
public Path createClasspath() {
  if (this.classpath == null) {
    this.classpath = new Path(getProject());
  }
  return this.classpath.createPath();
}


First
Previous
Clone Instance
5
Line Count
21
Source Line
364
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/util/ClasspathUtils.java

/**
 * This method is a Delegate method handling the @classpath attribute.
 *
 * <p>This attribute can set a path to add to the classpath.</p>
 *
 * @param classpath the path to use for the classpath.
 */
public void setClasspath(Path classpath) {
  if (this.classpath == null) {
    this.classpath = classpath;
  }
  else {
    this.classpath.append(classpath);
  }
}

/**
 * Delegate method handling the &lt;classpath&gt; tag.
 *
 * <p>This nested path-like structure can set a path to add to the
 * classpath.</p>
 *
 * @return the created path.
 */
public Path createClasspath() {
  if (this.classpath == null) {
    this.classpath = new Path(component.getProject());
  }
  return this.classpath.createPath();
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Set the classpath to be used when searching for component being defined
     *
     * @param classpath an Ant Path object containing the classpath.
     */
/**
         * This method is a Delegate method handling the @classpath attribute.
         *
         * <p>This attribute can set a path to add to the classpath.</p>
         *
         * @param classpath the path to use for the classpath.
         */
/**
     * Path to use for classpath.
     * @param classpath the path to use.
     */
/**
     * The classpath to use when looking up a resource.
     * @param classpath to add to any existing classpath
     */
/**
     * Specify the classpath to be searched to load the parser (optional)
     * @param classpath the classpath to load the parser
     */
public void setClasspath(Path classpath) {
  if (this.classpath == null) {
    this.classpath = classpath;
  }
  else {
    this.classpath.append(classpath);
  }
}

/**
     * Create a classpath.
     * @return a path for configuration.
     */
/**
         * Delegate method handling the &lt;classpath&gt; tag.
         *
         * <p>This nested path-like structure can set a path to add to the
         * classpath.</p>
         *
         * @return the created path.
         */
/**
     * Adds path to the classpath.
     * @return a path to be configured as a nested element.
     */
/**
     * The classpath to use when looking up a resource.
     * @return a path to be configured
     */
/**
     * @see #setClasspath
     * @return the classpath created
     */
public Path createClasspath() {
  if (this.classpath == null) {
    this.classpath = new Path( [[#variablefdd3400]]);
  }
  return this.classpath.createPath();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#fdd3400]]
null 
12[[#fdd3400]]
getProject() 
13[[#fdd3400]]
getProject() 
14[[#fdd3400]]
getProject() 
15[[#fdd3400]]
component.getProject()