Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 1 | 0.950 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 1453 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/AntClassLoader.java |
2 | 13 | 287 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Recorder.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(); } } |
| |||||
/** * 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(); } } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#130806a0]] | project |
1 | 2 | [[#130806a0]] | getProject() |