else if ( args[i].equals( "--format" ) ) { format = true; } else if ( args[i].startsWith( "--delimiter=" ) ) { delim = args[i].substring( 12 ); } 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( "--properties=" ) ) { propFile = args[i].substring( 13 ); } else if ( args[i].startsWith( "--config=" ) ) { cfg.configure( args[i].substring( 9 ) ); } else if ( args[i].startsWith( "--text" ) ) { doUpdate = false; } 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/SchemaUpdate.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
else if ( args[i].equals( "--format" ) ) {
1
else if ( args[i].
2
						format = true
2
startsWith( "--properties=" ) ) {
3
;
3
						propFile = args[i].substring( 13 );
4
					}
4
					}
5
					else if ( args[i].startsWith( "--delimiter=" ) ) {
5
					else if ( args[i].startsWith( "--config=" ) ) {
6
						delim = args[i].substring( 12 );
6
						cfg.configure( args[i].substring( 9 ) );
7
					}
7
					}
8
					else if ( args[i].startsWith( "--config=" ) ) {
8
					else if ( args[i].startsWith( "--text" ) ) {
9
						cfg.configure( args[i].substring( 9 ) );
9
						doUpdate = false;
10
					}
10
					}
11
					else if ( args[i].startsWith( "--naming=" ) ) {
11
					else if ( args[i].startsWith( "--naming=" ) ) {
12
						cfg.setNamingStrategy(
12
						cfg.setNamingStrategy(
13
								( NamingStrategy ) ReflectHelper.classForName( args[i].substring( 9 ) )
13
								( NamingStrategy ) ReflectHelper.classForName( args[i].substring( 9 ) )
14
										.newInstance()
14
.newInstance()
15
						
15
						
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0