CloneSet462


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9220.958method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1977
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/native2ascii/KaffeNative2Ascii.java
2994
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/rmic/KaffeRmic.java
Next
Last
Clone Instance
1
Line Count
9
Source Line
77
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/native2ascii/KaffeNative2Ascii.java

/**
 * tries to load Kaffe Native2Ascii and falls back to the older
 * class name if necessary.
 *
 * @return null if neither class can get loaded.
 */
private static Class getN2aClass() {
  for (int i = 0; i < N2A_CLASSNAMES.length; i++) {
    try {
      return Class.forName(N2A_CLASSNAMES[i]);
    }
    catch (ClassNotFoundException
           cnfe) {
    // Ignore
    }
  }
  return null;
}


First
Previous
Clone Instance
2
Line Count
9
Source Line
94
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/rmic/KaffeRmic.java

/**
 * tries to load Kaffe RMIC and falls back to the older class name
 * if necessary.
 *
 * @return null if neither class can get loaded.
 */
private static Class getRmicClass() {
  for (int i = 0; i < RMIC_CLASSNAMES.length; i++) {
    try {
      return Class.forName(RMIC_CLASSNAMES[i]);
    }
    catch (ClassNotFoundException
           cnfe) {
    // Ignore
    }
  }
  return null;
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * tries to load Kaffe Native2Ascii and falls back to the older
     * class name if necessary.
     *
     * @return null if neither class can get loaded.
     */
/**
     * tries to load Kaffe RMIC and falls back to the older class name
     * if necessary.
     *
     * @return null if neither class can get loaded.
     */
private static Class  [[#variable13132140]]() {
  for (int i = 0; i <  [[#variable13132060]].length; i++) {
    try {
      return Class.forName( [[#variable13132060]][i]);
    }
    catch (ClassNotFoundException
           cnfe) {
    // Ignore
    }
  }
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#13132140]]
getN2aClass 
12[[#13132140]]
getRmicClass 
21[[#13132060]]
N2A_CLASSNAMES 
22[[#13132060]]
RMIC_CLASSNAMES