CloneSet469


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18126
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ExecuteJavaTest.java
2852
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ExecuteWatchdogTest.java
Next
Last
Clone Instance
1
Line Count
8
Source Line
126
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ExecuteJavaTest.java

/**
 * Dangerous method to obtain the classpath for the test. This is
 * severely tighted to the build.xml properties.
 */
private static String getTestClassPath() {
  String classpath = System.getProperty("build.tests");
  if (classpath == null) {
    System.err.println("WARNING: \'build.tests\' property is not available !");
    classpath = System.getProperty("java.class.path");
  }
  return classpath;
}


First
Previous
Clone Instance
2
Line Count
8
Source Line
52
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ExecuteWatchdogTest.java

/**
 * Dangerous method to obtain the classpath for the test. This is
 * severely tighted to the build.xml properties.
 */
private static String getTestClassPath() {
  String classpath = System.getProperty("build.tests");
  if (classpath == null) {
    System.err.println("WARNING: \'build.tests\' property is not available !");
    classpath = System.getProperty("java.class.path");
  }
  return classpath;
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Dangerous method to obtain the classpath for the test. This is
     * severely tighted to the build.xml properties.
     */
private static String getTestClassPath() {
  String classpath = System.getProperty("build.tests");
  if (classpath == null) {
    System.err.println("WARNING: \'build.tests\' property is not available !");
    classpath = System.getProperty("java.class.path");
  }
  return classpath;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None