super(s, root); this.persistentClass = persistentClass; this.wasSetter = wasSetter; this.propertyName = propertyName;
super(customMessage, cause); this.type=type; this.path=path;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/PropertyAccessException.java File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/InvalidMappingException.java
Method name: void PropertyAccessException(Throwable, String, boolean, Class, String) Method name: void InvalidMappingException(String, String, String, Throwable)
Number of AST nodes: 4 Number of AST nodes: 3
1
super(s, root);
1
super(
2
		this.persistentClass = persistentClass;
3
		this.wasSetter = wasSetter;
4
		this.propertyName = propertyName
2
customMessage, cause);
3
		this.type=type;
5
;
4
		this.path=path;
Summary
Number of common nesting structure subtrees1
Number of refactorable cases0
Number of non-refactorable cases1
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are in different classes having the same super class
Number of node comparisons10
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements2
    Number of unmapped statements in the first code fragment2
    Number of unmapped statements in the second code fragment1
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 3
    Mapped Statements
    ID Statement ID Statement
    1
    super(s, root);
    1
    super(s, root);
    1
    super(customMessage, cause);
    Differences
    Expression1Expression2Difference
    scustomMessageVARIABLE_NAME_MISMATCH
    rootcauseVARIABLE_NAME_MISMATCH
    1
    super(customMessage, cause);
                                        
    2
    this.type = type;
    2
    this.persistentClass = persistentClass;
                                                                                    
    3
    this.wasSetter = wasSetter;
                                                            
    4
    this.propertyName = propertyName;
    4
    this.propertyName = propertyName;
    3
    this.path = path;
    Differences
    Expression1Expression2Difference
    propertyNamepathVARIABLE_NAME_MISMATCH
    propertyNamepathVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression this.propertyName is a field being modified, and thus it cannot be parameterized
    Expression this.path is a field being modified, and thus it cannot be parameterized
    3
    this.path = path;
    Precondition Violations (2)
    Row Violation
    1Expression this.propertyName is a field being modified, and thus it cannot be parameterized
    2Expression this.path is a field being modified, and thus it cannot be parameterized