public void targetFinished(BuildEvent event) { // Not significant for the class loader. } /** * Empty implementation to satisfy the BuildListener interface. * * @param event the taskStarted event */ public void taskStarted(BuildEvent event) { // Not significant for the class loader. } /** * Empty implementation to satisfy the BuildListener interface. * * @param event the taskFinished event */ public void taskFinished(BuildEvent event)
public void targetFinished(BuildEvent event) { //System.out.println("targetFinished " + event.getTarget().getName()); } /** * Fired when a task is started. * * @see BuildEvent#getTask() */ public void taskStarted(BuildEvent event) { //System.out.println("taskStarted " + event.getTask().getTaskName()); } /** * Fired when a task has finished. This event will still * be throw if an error occurred during the build. * * @see BuildEvent#getException() */ public void taskFinished(BuildEvent event)
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/AntClassLoader.java File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/BuildFileTest.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
        // Not significant for the class loader.
2
        
3
    }
3
    //System.out.println("targetFinished " + event.getTarget().getName());
4
        }
4
    /**
5
        /**
5
     * Empty implementation to satisfy the BuildListener interface.
6
     
6
     *
7
    * Fired when a task is started.
8
         *
7
     * @param event the taskStarted event
9
         * @
10
see BuildEvent#getTask()
8
     */
11
         */
9
    public void taskStarted(BuildEvent event) {
12
        public void taskStarted(BuildEvent event) {
10
        // Not significant for the class loader.
13
        
14
    //System.out.println("taskStarted " + event.getTask().getTaskName());
11
    }
15
        }
12
    /**
16
        /**
13
     * Empty implementation to satisfy the BuildListener interface
17
         * Fired when a task has finished. This event will still
14
.
18
         * be throw if an error occurred during the build.
15
     *
19
         *
16
     * @param event the taskFinished event
20
      
21
   * @see BuildEvent#getException()
17
     */
22
         */
18
    public void taskFinished(BuildEvent event) 
23
        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