void handleErrorOutput(String output) { if (systemError != null) { systemError.print(output); } } /** {@inheritDoc}. */ public void handleFlush(String output) { if (systemOut != null) { systemOut.print(output); }
void handleFlush(String output) { if (systemOut != null) { systemOut.print(output); } } /** {@inheritDoc}. */ public void handleErrorFlush(String output) { if (systemError != null) { systemError.print(output); }
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void handleErrorOutput(String output) {
1
void handleFlush(String output) {
2
        if (systemError != null) {
2
        if (systemOut != null) {
3
            systemError.print(output);
3
            systemOut.print(output);
4
        }
4
        }
5
    }
5
    }
6
    /** {@inheritDoc}. */
6
    /** {@inheritDoc}. */
7
    public void handleFlush(String output) {
7
    public void handleErrorFlush(String output) {
8
        if (systemOut != null) {
8
        if (systemError != null) {
9
            systemOut.print(output);
9
            systemError.print(output);
10
        }
10
        }
11
    
11
    
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