if (slave == Slave.OUT) {
// we only close out if it's the slave stream, to avoid
// closing a directly-mapped stream from parent process
try { out.close(); } catch (IOException ioe) {}
}
Clone fragments detected by clone detection tool
File path: /jruby-1.4.0/src/org/jruby/util/ShellLauncher.java
|
|
File path: /jruby-1.4.0/src/org/jruby/java/MiniJava.java
|
Method name: void run()
|
|
Method name: Class defineImplClass(Ruby, String, String[], Map>)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 0
|
|
1 | if (slave == Slave.OUT) {↵ | | | |
2 | // we only close out if it's the slave stream, to avoid↵ | | | |
3 | // closing a directly-mapped stream from parent process↵ | | | |
4 | try { out.close(); } catch (IOException ioe) {}↵ | | | |
5 | } | | | |
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 |