CloneSet611


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13210.950class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1161453
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/AntClassLoader.java
213287
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Recorder.java
Next
Last
Clone Instance
1
Line Count
16
Source Line
1453
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/AntClassLoader.java

/**
 * Cleans up any resources held by this classloader at the end
 * of a build.
 *
 * @param event the buildFinished event
 */
public void buildFinished(BuildEvent event) {
  cleanup();
}

/**
 * Cleans up any resources held by this classloader at the end of
 * a subbuild if it has been created for the subbuild's project
 * instance.
 *
 * @param event the buildFinished event
 *
 * @since Ant 1.6.2
 */
public void subBuildFinished(BuildEvent event) {
  if (event.getProject() == project) {
    cleanup();
  }
}


First
Previous
Clone Instance
2
Line Count
13
Source Line
287
Source File
E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Recorder.java

/**
 * Cleans recorder registry.
 * @param event ignored.
 * @since Ant 1.7
 */
public void buildFinished(BuildEvent event) {
  cleanup();
}

/**
 * Cleans recorder registry, if this is the subbuild the task has
 * been created in.
 * @param event ignored.
 * @since Ant 1.7
 */
public void subBuildFinished(BuildEvent event) {
  if (event.getProject() == getProject()) {
    cleanup();
  }
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Cleans recorder registry.
     * @param event ignored.
     * @since Ant 1.7
     */
/**
     * Cleans up any resources held by this classloader at the end
     * of a build.
     *
     * @param event the buildFinished event
     */
public void buildFinished(BuildEvent event) {
  cleanup();
}

/**
     * Cleans recorder registry, if this is the subbuild the task has
     * been created in.
     * @param event ignored.
     * @since Ant 1.7
     */
/**
     * Cleans up any resources held by this classloader at the end of
     * a subbuild if it has been created for the subbuild's project
     * instance.
     *
     * @param event the buildFinished event
     *
     * @since Ant 1.6.2
     */
public void subBuildFinished(BuildEvent event) {
  if (event.getProject() == [[#variable130806a0]]) {
    cleanup();
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#130806a0]]
project 
12[[#130806a0]]
getProject()