super(subIndex); this.where = where; this.negated = negated;
super(msg); this.type = type; this.pos = position;
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/gnu/regexp/RETokenWordBoundary.java File path: /jEdit-4.2/src/gnu/regexp/REException.java
Method name: void RETokenWordBoundary(int, int, boolean) Method name: void REException(String, int, int)
Number of AST nodes: 3 Number of AST nodes: 3
1
super(subIndex);
1
super(
2
	this.where = where;
3
	this.negated = negated
2
msg); 
3
    this.type = type;
4
;
4
    this.pos = position;
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
Number of node comparisons6
  1. {Non-refactorable}
    Mapping Summary
    Number of mapped statements1
    Number of unmapped statements in the first code fragment2
    Number of unmapped statements in the second code fragment2
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 2
    Mapped Statements
    ID Statement ID Statement
                                
    1
    super(msg);
    1
    super(subIndex);
                                          
    2
    this.where = where;
    2
    this.where = where;
    2
    this.type = type;
    Differences
    Expression1Expression2Difference
    wheretypeVARIABLE_NAME_MISMATCH
    wheretypeVARIABLE_NAME_MISMATCH
    Preondition Violations
    Expression this.where is a field being modified, and thus it cannot be parameterized
    Expression this.type is a field being modified, and thus it cannot be parameterized
    2
    this.type = type;
                                              
    3
    this.pos = position;
    Preondition Violations
    Unmatched statement this.pos=position; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    3
    this.pos = position;
    3
    this.negated = negated;
    3
    this.negated = negated;
    Preondition Violations
    Unmatched statement this.negated=negated; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
                                                    
    Precondition Violations (4)
    Row Violation
    1Expression this.where is a field being modified, and thus it cannot be parameterized
    2Expression this.type is a field being modified, and thus it cannot be parameterized
    3Unmatched statement this.pos=position; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted
    4Unmatched statement this.negated=negated; cannot be moved before the extracted code, because it has control dependencies from statements that will be extracted