try { os.write((s + "\n").getBytes()); if (echoString) { log(s, Project.MSG_INFO); } os.flush(); } catch (Exception e) { throw new BuildException(e, getLocation());
try { os.write((s + "\n").getBytes()); if (echoString) { log(s, Project.MSG_INFO); } os.flush(); } catch (Exception e) { throw new BuildException(e, getLocation());
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/net/RExecTask.java File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/net/TelnetTask.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
try {
1
try {
2
                os.write((s + "\n").getBytes());
2
                os.write((s + "\n").getBytes());
3
                if (echoString) {
3
                if (echoString) {
4
                    log(s, Project.MSG_INFO);
4
                    log(s, Project.MSG_INFO);
5
                }
5
                }
6
                os.flush();
6
                os.flush();
7
            } catch (Exception e) {
7
            } catch (Exception e) {
8
                throw new BuildException(e, getLocation());
8
                throw new BuildException(e, getLocation());
9
            
9
            
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