if (resolveAsNakedComponentPropertyRefRHS(dot)) { // we are the RHS of the DOT representing a naked comp-prop-ref setResolved(); }
if ( checkVersion( includeProperty ) ) { getVersionType().nullSafeSet( update, oldVersion, index, session ); }
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/hql/ast/tree/IdentNode.java File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
Method name: void resolve(boolean, boolean, String, AST) Method name: boolean update(Serializable, Object[], Object[], Object, boolean[], int, Object, Object, String, SessionImplementor)
Number of AST nodes: 2 Number of AST nodes: 2
1
if (resolveAsNakedComponentPropertyRefRHS(dot)) {
1
if (
2
						// we are the RHS of the DOT representing a naked comp-prop-ref
3
						setResolved(
2
 checkVersion( includeProperty ) ) {
4
);
3
						getVersionType().nullSafeSet( update, oldVersion, index, session );
5
					}
4
					}
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.2
Clones locationClones are in different classes
Number of node comparisons1