System.setOut(new PrintStream(new DemuxOutputStream(project, false)));
System.setErr(new PrintStream(new DemuxOutputStream(project, true)));
System.setOut(new PrintStream(new DemuxOutputStream(p, false)));
System.setErr(new PrintStream(new DemuxOutputStream(p, true)));
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/Main.java
|
|
File path: /apache-ant-1.7.0/src/tests/junit/org/apache/tools/ant/taskdefs/ParallelTest.java
|
Method name: void runBuild(ClassLoader)
|
|
Method name: void testDemux()
|
Number of AST nodes: 2
|
|
Number of AST nodes: 2
|
|
1 | System.setOut(new PrintStream(new DemuxOutputStream(project, false)));↵ | | 1 | System.setOut(new PrintStream(new DemuxOutputStream(p, false)));↵
|
2 | System.setErr(new PrintStream(new DemuxOutputStream(project, true))); | | 2 | System.setErr(new PrintStream(new DemuxOutputStream(p, true)));
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes |
Number of node comparisons | 0 |