System.err.println("is considered to be dead code by the Ant " + "developers and is unmaintained."); System.err.println("Don\'t use it!"); this.task = task; this.emacsMode = emacsMode;
System.err.println("is considered to be dead code by the Ant " + "developers and is unmaintained."); System.err.println("Don\'t use it!"); this.task = task; this.msgOutputLevel = msgOutputLevel;
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/JikesOutputParser.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/TaskOutputStream.java
Method name: void JikesOutputParser(Task, boolean) Method name: void TaskOutputStream(Task, int)
Number of AST nodes: 4 Number of AST nodes: 4
1
System.err.println("is considered to be dead code by the Ant "
1
System.err.println("is considered to be dead code by the Ant "
2
            + "developers and is unmaintained.");
2
            + "developers and is unmaintained.");
3
        System.err.println("Don\'t use it!");
3
        System.err.println("Don\'t use it!");
4
        this.task = task;
4
        this.task = task;
5
        this.emacsMode = emacsMode;
5
        this.msgOutputLevel = msgOutputLevel;
Summary
Number of common nesting structure subtrees1
Number of refactorable cases1
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes
Number of node comparisons11
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements3
    Number of unmapped statements in the first code fragment1
    Number of unmapped statements in the second code fragment1
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
    3
    System.err.println("is considered to be dead code by the Ant " + "developers and is unmaintained.");
    2
    System.err.println("is considered to be dead code by the Ant " + "developers and is unmaintained.");
    4
    System.err.println("Don\'t use it!");
    3
    System.err.println("Don\'t use it!");
    5
    this.task = task;
    4
    this.task = task;
                                                                                
    5
    this.msgOutputLevel = msgOutputLevel;
    6
    this.emacsMode = emacsMode;
                                                            
    Precondition Violations (0)
    Row Violation