try { return constructor.newInstance( tuple ); } catch ( Exception e ) { throw new QueryException( "could not instantiate class [" + constructor.getDeclaringClass().getName() + "] from tuple", e ); }
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/transform/AliasToBeanConstructorResultTransformer.java File path: /hibernate-distribution-3.3.2.GA/project/cache-jbosscache/src/test/java/org/hibernate/cache/OptimisticTreeCacheTest.java
Method name: Object transformTuple(Object[], String[]) Method name: void testCacheLevelStaleWritesFail()
Number of AST nodes: 2 Number of AST nodes: 0
1
try {
2
			return constructor.newInstance( tuple );
3
		}
4
		catch ( Exception e ) {
5
			throw new QueryException( 
6
					"could not instantiate class [" + constructor.getDeclaringClass().getName() + "] from tuple",
7
					e
8
			);
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 locationClones are in different classes
Number of node comparisons0