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( NEVER.name, NEVER );
INSTANCES.put( MANUAL.name, MANUAL );
INSTANCES.put( AUTO.name, AUTO );
INSTANCES.put( ALWAYS.name, ALWAYS );
INSTANCES.put( COMMIT.name, COMMIT );
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/FlushMode.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( NEVER.name, N↵
|
3 | INSTANCES.put( READ.name, READ );↵ | | 3 | EVER );↵
|
4 | INSTANCES.put( UPGRADE.name, UPGRADE );↵ | | 4 | INSTANCES.put( MANUAL.name, MANUAL );↵
|
5 | INSTANCES.put( UPGRADE_NOWAIT.name, UPGRADE_NOWAIT );↵ | | 5 | INSTANCES.put( AUTO.name, AUTO );↵
|
6 | INSTANCES.put( WRITE.name, WRITE );↵ | | 6 | INSTANCES.put( ALWAYS.name, ALWAYS );↵
|
7 | INSTANCES.put( FORCE.name, FORCE );↵ | | 7 | INSTANCES.put( COMMIT.name, COMMIT );↵
|
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 |