final Map.Entry entry = (Map.Entry) itr.next(); final SQLFunction function = (SQLFunction) entry.getValue(); if ( !function.hasArguments() && !function.hasParenthesesIfNoArguments() ) { return (String) entry.getKey(); }
final Map.Entry entry = (Map.Entry) itr.next(); final SQLFunction function = (SQLFunction) entry.getValue(); if ( !function.hasArguments() && !function.hasParenthesesIfNoArguments() ) { return (String) entry.getKey(); }
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/dialect/functional/cache/SQLFunctionsInterSystemsTest.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/SQLFunctionsTest.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
final Map.Entry entry = (Map.Entry) itr.next();
1
final Map.Entry entry = (Map.Entry) itr.next();
2
			final SQLFunction function = (SQLFunction) entry.getValue();
2
			final SQLFunction function = (SQLFunction) entry.getValue();
3
			if ( !function.hasArguments() && !function.hasParenthesesIfNoArguments() ) {
3
			if ( !function.hasArguments() && !function.hasParenthesesIfNoArguments() ) {
4
				return (String) entry.getKey();
4
				return (String) entry.getKey();
5
			}
5
			}
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