public void targetFinished(BuildEvent event) { } /** * Empty implementation required by SubBuildListener interface. * @param event ignored. * @since Ant 1.7 */ public void taskStarted(BuildEvent event) { } /** * Empty implementation required by SubBuildListener interface. * @param event ignored. * @since Ant 1.7 */ public void taskFinished(BuildEvent event) {
public void targetFinished(BuildEvent event) {} public void taskStarted(BuildEvent event) {} public void taskFinished(BuildEvent event) {}
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Recorder.java File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/MockBuildListener.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public void targetFinished(BuildEvent event) {
1
public void targetFinished(BuildEvent event) {
2
    }
3
    /**
4
     * Empty implementation required by SubBuildListener interface.
5
     * @param event ignored.
6
     * @since Ant 1.7
7
     */
8
    public void taskStarted(BuildEvent event) {
9
    }
10
    /**
11
     * Empty implementation required by SubBuildListener interface.
12
     * @param event ignored.
13
     * @since Ant 1.7
14
     */
2
}
3
    public void taskStarted(BuildEvent event) {}
15
    public void taskFinished(BuildEvent event) {
4
    public void taskFinished(BuildEvent event) {}
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0