static {
try {
intern_adler = Adler32.class.getDeclaredField("adler");
intern_adler.setAccessible(true);
} catch(final NoSuchFieldException nsfe) {
throw new RuntimeException("This class have stopped working, it should be updated and FIXED now.");
}
static {
try {
intern_crc = CRC32.class.getDeclaredField("crc");
intern_crc.setAccessible(true);
} catch(final NoSuchFieldException nsfe) {
throw new RuntimeException("This class have stopped working, it should be updated and FIXED now.");
}
Clone fragments detected by clone detection tool
File path: /jruby-1.4.0/src/org/jruby/util/Adler32Ext.java
|
|
File path: /jruby-1.4.0/src/org/jruby/util/CRC32Ext.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | static {↵ | | 1 | static {↵
|
2 | try {↵ | | 2 | try {↵
|
3 | intern_adler = Adler32.class.getDeclaredField("adler");↵ | | 3 | intern_crc = CRC32.class.getDeclaredField("crc");↵
|
4 | intern_adler.setAccessible(true);↵ | | 4 | intern_crc.setAccessible(true);↵
|
5 | } catch(final NoSuchFieldException nsfe) {↵ | | 5 | } catch(final NoSuchFieldException nsfe) {↵
|
6 | throw new RuntimeException("This class have stopped working, it should be updated and FIXED now.");↵ | | 6 | throw new RuntimeException("This class have stopped working, it should be updated and FIXED now.");↵
|
7 | }↵ | | 7 | }↵
|
8 | | | 8 |
|
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 | |
Number of node comparisons | 0 |