if ( row[i] == LazyPropertyInitializer.UNFETCHED_PROPERTY || row[i] == BackrefPropertyAccessor.UNKNOWN ) { assembled[i] = row[i]; } else { assembled[i] = types[i].assemble( row[i], session, owner ); }
if ( row[i] == LazyPropertyInitializer.UNFETCHED_PROPERTY || row[i] == BackrefPropertyAccessor.UNKNOWN ) { disassembled[i] = (Serializable) row[i]; } else { disassembled[i] = types[i].disassemble( row[i], session, owner ); }
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/type/TypeFactory.java File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/type/TypeFactory.java
Method name: Object[] assemble(Serializable[], Type[], SessionImplementor, Object) Method name: Serializable[] disassemble(Object[], Type[], boolean[], SessionImplementor, Object)
Number of AST nodes: 3 Number of AST nodes: 3
1
if ( row[i] == LazyPropertyInitializer.UNFETCHED_PROPERTY || row[i] == BackrefPropertyAccessor.UNKNOWN ) {
1
if ( row[i] == LazyPropertyInitializer.UNFETCHED_PROPERTY || row[i] == BackrefPropertyAccessor.UNKNOWN ) {
2
				assembled[i] = row[i];
2
				disassembled[i] = (Serializable) row[i];
3
			}
3
			}
4
			else {
4
			else {
5
				assembled[i] = types[i].assemble( row[i], session, owner );
5
				disassembled[i] = types[i].disassemble( row[i], session, owner );
6
			}
6
			}
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 locationClones are declared in the same class
Number of node comparisons0