final boolean dirty = currentState[i] != LazyPropertyInitializer.UNFETCHED_PROPERTY && properties[i].isDirtyCheckable( anyUninitializedProperties ) && properties[i].getType().isDirty( previousState[i], currentState[i], includeColumns[i], session ); if ( dirty ) { if ( results == null ) { results = new int[span]; } results[count++] = i; }
final boolean modified = currentState[i]!=LazyPropertyInitializer.UNFETCHED_PROPERTY && properties[i].isDirtyCheckable(anyUninitializedProperties) && properties[i].getType().isModified( previousState[i], currentState[i], includeColumns[i], session ); if ( modified ) { if ( results == null ) { results = new int[span]; } results[count++] = i; }
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: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
final boolean dirty = currentState[i] != LazyPropertyInitializer.UNFETCHED_PROPERTY
1
final boolean modified = currentState[i]!=LazyPropertyInitializer.UNFETCHED_PROPERTY
2
					&& properties[i].isDirtyCheckable( anyUninitializedProperties )
2
					&& properties[i].isDirtyCheckable(anyUninitializedProperties)
3
					&& properties[i].getType().isDirty( previousState[i], currentState[i], includeColumns[i], session );
3
					&& properties[i].getType().isModified( previousState[i], currentState[i], includeColumns[i], session );
4
			if ( dirty ) {
4
			if ( modified ) {
5
				if ( results == null ) {
5
				if ( results == null ) {
6
					results = new int[span];
6
					results = new int[span];
7
				}
7
				}
8
				results[count++] = i;
8
				results[count++] = i;
9
			}
9
			}
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