CloneSet74


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23310.965class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12367
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/AntFilterReader.java
223120
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/Mapper.java
323106
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/selectors/ExtendSelector.java
Next
Last
Clone Instance
1
Line Count
23
Source Line
67
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/AntFilterReader.java

/**
 * Set the classpath to load the FilterReader through (attribute).
 * @param classpath a classpath
 */
public void setClasspath(Path classpath) {
  if (isReference()) {
    throw tooManyAttributes();
  }
  if (this.classpath == null) {
    this.classpath = classpath;
  }
  else {
    this.classpath.append(classpath);
  }
}

/**
 * Set the classpath to load the FilterReader through (nested element).
 * @return a classpath to be configured
 */
public Path createClasspath() {
  if (isReference()) {
    throw noChildrenAllowed();
  }
  if (this.classpath == null) {
    this.classpath = new Path(getProject());
  }
  return this.classpath.createPath();
}


Next
Previous
Clone Instance
2
Line Count
23
Source Line
120
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/Mapper.java

/**
 * Set the classpath to load the FileNameMapper through (attribute).
 * @param classpath the classpath
 */
public void setClasspath(Path classpath) {
  if (isReference()) {
    throw tooManyAttributes();
  }
  if (this.classpath == null) {
    this.classpath = classpath;
  }
  else {
    this.classpath.append(classpath);
  }
}

/**
 * Set the classpath to load the FileNameMapper through (nested element).
 * @return a path object to be configured
 */
public Path createClasspath() {
  if (isReference()) {
    throw noChildrenAllowed();
  }
  if (this.classpath == null) {
    this.classpath = new Path(getProject());
  }
  return this.classpath.createPath();
}


First
Previous
Clone Instance
3
Line Count
23
Source Line
106
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/types/selectors/ExtendSelector.java

/**
 * Set the classpath to load the classname specified using an attribute.
 * @param classpath the classpath to use
 */
public final void setClasspath(Path classpath) {
  if (isReference()) {
    throw tooManyAttributes();
  }
  if (this.classpath == null) {
    this.classpath = classpath;
  }
  else {
    this.classpath.append(classpath);
  }
}

/**
 * Specify the classpath to use to load the Selector (nested element).
 * @return a classpath to be configured
 */
public final Path createClasspath() {
  if (isReference()) {
    throw noChildrenAllowed();
  }
  if (this.classpath == null) {
    this.classpath = new Path(getProject());
  }
  return this.classpath.createPath();
}


Clone AbstractionParameter Count: 1Parameter Bindings

 [[#variablefe3eea0]]void setClasspath(Path classpath) {
  if (isReference()) {
    throw tooManyAttributes();
  }
  if (this.classpath == null) {
    this.classpath = classpath;
  }
  else {
    this.classpath.append(classpath);
  }
}

 [[#variablefe3eea0]]Path createClasspath() {
  if (isReference()) {
    throw noChildrenAllowed();
  }
  if (this.classpath == null) {
    this.classpath = new Path(getProject());
  }
  return this.classpath.createPath();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#fe3eea0]]
/**
 * Set the classpath to load the FilterReader through (attribute).
 * @param classpath a classpath
 */
public 
12[[#fe3eea0]]
/**
 * Set the classpath to load the FileNameMapper through (attribute).
 * @param classpath the classpath
 */
public 
13[[#fe3eea0]]
/**
 * Set the classpath to load the classname specified using an attribute.
 * @param classpath the classpath to use
 */
public final