super.stop(); try { getErr().close(); getOut().close(); } catch (final IOException e) { // plain impossible throw new BuildException(e); }
super.stop(); try { getErr().close(); getOut().close(); } catch (IOException e) { // plain impossible throw new BuildException(e); }
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/cvslib/RedirectingStreamHandler.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/LogStreamHandler.java
Method name: void stop() Method name: void stop()
Number of AST nodes: 4 Number of AST nodes: 4
1
super.stop();
1
super.stop();
2
        try {
2
        try {
3
            getErr().close();
3
            getErr().close();
4
            getOut().close();
4
            getOut().close();
5
        } catch (final IOException e) {
5
        } catch (IOException e) {
6
            // plain impossible
6
            // plain impossible
7
            throw new BuildException(e);
7
            throw new BuildException(e);
8
        }
8
        }
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 locationClones are in different classes having the same super class
Number of node comparisons1