File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/type/TypeFactory.java | File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/type/TypeFactory.java | |||
Method name: int[] findModified(StandardProperty[], Object[], Object[], boolean[][], boolean, SessionImplementor)
|
Method name: int[] findDirty(StandardProperty[], Object[], Object[], boolean[][], boolean, SessionImplementor)
|
|||
Number of AST nodes: 3 | Number of AST nodes: 3 | |||
1 | int[] trimmed = new int[count];↵ | 1 | int[] trimmed = new int[count];↵ | |
2 | System.arraycopy( results, 0, trimmed, 0, count );↵ | 2 | System.arraycopy( results, 0, trimmed, 0, count );↵ | |
3 | return trimmed; | 3 |
| |
See real code fragment | See real code fragment |
Number of common nesting structure subtrees | 1 |
Number of refactorable cases | 1 |
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 | 10 |
Number of mapped statements | 3 |
Number of unmapped statements in the first code fragment | 0 |
Number of unmapped statements in the second code fragment | 0 |
Time elapsed for statement mapping (ms) | 0.0 |
Clone type | Type 1 |
ID | Statement | ID | Statement | |
---|---|---|---|---|
12 | int[] trimmed = new int[count]; | 12 | int[] trimmed = new int[count]; | |
13 | System.arraycopy(results, 0, trimmed, 0, count); | 13 | System.arraycopy(results, 0, trimmed, 0, count); | |
14 | return trimmed; | 14 | return trimmed; |
Row | Violation |
---|