else if ( args[i].startsWith( "--config=" ) ) {
cfg.configure( args[i].substring( 9 ) );
}
else if ( args[i].startsWith( "--naming=" ) ) {
cfg.setNamingStrategy(
( NamingStrategy ) ReflectHelper.classForName( args[i].substring( 9 ) )
.newInstance()
else if ( args[i].startsWith( "--config=" ) ) {
cfg.configure( args[i].substring( 9 ) );
}
else if ( args[i].startsWith( "--naming=" ) ) {
cfg.setNamingStrategy(
( NamingStrategy ) ReflectHelper.classForName( args[i].substring( 9 ) ).newInstance()
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaExport.java
|
|
File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/tool/hbm2ddl/SchemaValidator.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | else if ( args[i].startsWith( "--config=" ) ) {↵ | | 1 | else if ( args[i].startsWith( "--config=" ) ) {↵
|
2 | cfg.configure( args[i].substring( 9 ) );↵ | | 2 | cfg.configure( args[i].substring( 9 ) );↵
|
3 | }↵ | | 3 | }↵
|
4 | else if ( args[i].startsWith( "--naming=" ) ) {↵ | | 4 | else if ( args[i].startsWith( "--naming=" ) ) {↵
|
5 | cfg.setNamingStrategy(↵ | | 5 | cfg.setNamingStrategy(↵
|
6 | ( NamingStrategy ) ReflectHelper.classForName( args[i].substring( 9 ) )↵ | | 6 | ( NamingStrategy ) ReflectHelper.classForName( args[i].substring( 9 ) )↵
|
7 | .newInstance()↵ | | 7 | .newInstance()↵
|
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 |