static {
INSTANCES.put( NONE.name, NONE );
INSTANCES.put( READ.name, READ );
INSTANCES.put( UPGRADE.name, UPGRADE );
INSTANCES.put( UPGRADE_NOWAIT.name, UPGRADE_NOWAIT );
INSTANCES.put( WRITE.name, WRITE );
INSTANCES.put( FORCE.name, FORCE );
static {
INSTANCES.put( EXACT.name, EXACT );
INSTANCES.put( END.name, END );
INSTANCES.put( START.name, START );
INSTANCES.put( ANYWHERE.name, ANYWHERE );
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/LockMode.java
|
|
File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/criterion/MatchMode.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | static {↵ | | 1 | static {↵
|
2 | INSTANCES.put( NONE.name, NONE );↵ | | 2 | INSTANCES.put( EXACT.name, EXACT );↵
|
3 | INSTANCES.put( READ.name, READ );↵ | | 3 | INSTANCES.put( END.name, END );↵
|
4 | INSTANCES.put( UPGRADE.name, UPGRADE );↵ | | 4 | INSTANCES.put( ↵
|
5 | INSTANCES.put( UPGRADE_NOWAIT.name, UPGRADE_NOWAIT );↵ | | 5 | START.name, START );↵
|
6 | INSTANCES.put( WRITE.name, WRITE );↵ | | 6 | INSTANCES.put( ANYWHERE.name, ↵
|
7 | INSTANCES.put( FORCE.name, FORCE );↵ | | 7 | ANYWHERE );↵
|
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 |