public void configure(Type type, Properties params, Dialect d) throws MappingException {
super.configure(type, params, d);
maxLo = PropertiesHelper.getInt(MAX_LO, params, 9);
lo = maxLo + 1; // so we "clock over" on the first invocation
returnClass = type.getReturnedClass();
public void configure(Type type, Properties params, Dialect d) {
super.configure(type, params, d);
maxLo = PropertiesHelper.getInt(MAX_LO, params, Short.MAX_VALUE);
lo = maxLo + 1; // so we "clock over" on the first invocation
returnClass = type.getReturnedClass();
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/id/SequenceHiLoGenerator.java
|
|
File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/id/TableHiLoGenerator.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public void configure(Type type, Properties params, Dialect d) throws MappingException {↵ | | 1 | public void configure(Type type, Properties params, Dialect d) {↵
|
2 | super.configure(type, params, d);↵ | | 2 | super.configure(type, params, d);↵
|
3 | maxLo = PropertiesHelper.getInt(MAX_LO, params, 9);↵ | | 3 | maxLo = PropertiesHelper.getInt(MAX_LO, params, Short.MAX_VALUE);↵
|
4 | lo = maxLo + 1; // so we "clock over" on the first invocation↵ | | 4 | lo = maxLo + 1; // so we "clock over" on the first invocation↵
|
5 | returnClass = type.getReturnedClass();↵ | | 5 | returnClass = type.getReturnedClass();↵
|
6 | | | 6 |
|
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 |