appendComponentCondition(
propertyName,
propertyValue,
(AbstractComponentType) propertyTypes[i],
criteria,
criteriaQuery,
buf
);
Type subtype = subtypes[i];
if ( subtype.isComponentType() ) {
appendComponentCondition(
subpath,
value,
(AbstractComponentType) subtype,
criteria,
criteriaQuery,
buf
);
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/criterion/Example.java
|
|
File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/criterion/Example.java
|
Method name: String toSqlString(Criteria, CriteriaQuery)
|
|
Method name: void appendComponentCondition(String, Object, AbstractComponentType, Criteria, CriteriaQuery, StringBuffer)
|
Number of AST nodes: 1
|
|
Number of AST nodes: 2
|
|
| | | 1 | Type subtype = subtypes[i];↵
|
| | | 2 | if ( subtype.isComponentType() ) {↵
|
1 | appendComponentCondition(↵ | | 3 | appendComponentCondition(↵
|
2 | propertyName,↵ | | 4 | ↵
|
3 | propertyV↵ | | 5 | subpath,↵
|
4 | alue,↵ | | 6 | value,↵
|
5 | (AbstractComponentType) propertyTypes[i],↵ | | 7 | (AbstractComponentType) subtype,↵
|
6 | criteria,↵ | | 8 | criteria,↵
|
7 | criteriaQuery,↵ | | 9 | criteriaQuery,↵
|
8 | buf↵ | | 10 | buf↵
|
9 | ); | | 11 | );
|
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 | Clones are declared in the same class |
Number of node comparisons | 3 |