if (!(new File(currentDirectory).isDirectory())) {
MainExitException mee = new MainExitException(1, "jruby: Can't chdir to " + saved + " (fatal)");
mee.setUsageError(true);
throw mee;
}
Clone fragments detected by clone detection tool
File path: /jruby-1.4.0/src/org/jruby/RubyInstanceConfig.java
|
|
File path: /jruby-1.4.0/src/org/jruby/RubyInstanceConfig.java
|
Method name: void processArgument()
|
|
Method name: void processArgument()
|
Number of AST nodes: 4
|
|
Number of AST nodes: 0
|
|
1 | if (!(new File(currentDirectory).isDirectory())) {↵ | | | |
2 | MainExitException mee = new MainExitException(1, "jruby: Can't chdir to " + saved + " (fatal)");↵ | | | |
3 | mee.setUsageError(true);↵ | | | |
4 | throw mee;↵ | | | |
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 the same method |
Number of node comparisons | 0 |