else if ( o instanceof Integer ) {
ArrayList list = new ArrayList( 4 );
list.add( o );
list.add( loc );
namedParameters.put( name, list );
}
else {
( ( ArrayList ) o ).add( loc );
else if ( o instanceof Integer ) {
ArrayList list = new ArrayList( 4 );
list.add( o );
list.add( loc );
namedParameterBindPoints.put( name, list );
}
else {
( ( List ) o ).add( loc );
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/hql/classic/QueryTranslatorImpl.java
|
|
File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/loader/custom/sql/SQLQueryParser.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | else if ( o instanceof Integer ) {↵ | | 1 | else if ( o instanceof Integer ) {↵
|
2 | ArrayList list = new ArrayList( 4 );↵ | | 2 | ArrayList list = new ArrayList( 4 );↵
|
3 | list.add( o );↵ | | 3 | list.add( o );↵
|
4 | list.add( loc );↵ | | 4 | list.add( loc );↵
|
5 | namedParameters.put( name, list );↵ | | 5 | namedParameterBindPoints.put( name, list );↵
|
6 | }↵ | | 6 | }↵
|
7 | else {↵ | | 7 | else {↵
|
8 | ( ( ArrayList ) o ).add( loc );↵ | | 8 | ( ( List ) o ).add( loc );↵
|
9 | | | 9 |
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |