this.eventType = eventType; this.oldSimplePrimitiveValue = oldLongValue; this.newSimplePrimitiveValue = newLongValue; this.position = Notification.NO_INDEX; this.primitiveType = PRIMITIVE_TYPE_LONG;
this.eventType = eventType; this.oldIEEEPrimitiveValue = oldFloatValue; this.newIEEEPrimitiveValue = newFloatValue; this.position = Notification.NO_INDEX; this.primitiveType = PRIMITIVE_TYPE_FLOAT;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/common/notify/impl/NotificationImpl.java File path: /emf-2.4.1/src/org/eclipse/emf/common/notify/impl/NotificationImpl.java
Method name: void NotificationImpl(int, long, long) Method name: void NotificationImpl(int, float, float)
Number of AST nodes: 5 Number of AST nodes: 5
1
this.eventType = eventType;
1
this.eventType = eventType;
2
    this.oldSimplePrimitiveValue = oldLongValue;
2
    this.oldIEEEPrimitiveValue = oldFloatValue;
3
    this.newSimplePrimitiveValue = newLongValue;
3
    this.newIEEEPrimitiveValue = newFloatValue;
4
    this.position = Notification.NO_INDEX;
4
    this.position = Notification.NO_INDEX;
5
    this.primitiveType = PRIMITIVE_TYPE_LONG;
5
    this.primitiveType = PRIMITIVE_TYPE_FLOAT;
Summary
Number of common nesting structure subtrees1
Number of refactorable cases1
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones locationClones are declared in the same class
Number of node comparisons16
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements3
    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
    this.eventType = eventType;
    1
    this.eventType = eventType;
                                                                                            
    2
    this.oldIEEEPrimitiveValue = oldFloatValue;
    2
    this.oldSimplePrimitiveValue = oldLongValue;
                                                                                              
                                                                                            
    3
    this.newIEEEPrimitiveValue = newFloatValue;
    3
    this.newSimplePrimitiveValue = newLongValue;
                                                                                              
    4
    this.position = Notification.NO_INDEX;
    4
    this.position = Notification.NO_INDEX;
    5
    this.primitiveType = PRIMITIVE_TYPE_LONG;
    5
    this.primitiveType = PRIMITIVE_TYPE_LONG;
    5
    this.primitiveType = PRIMITIVE_TYPE_FLOAT;
    Differences
    Expression1Expression2Difference
    PRIMITIVE_TYPE_LONGPRIMITIVE_TYPE_FLOATVARIABLE_NAME_MISMATCH
    5
    this.primitiveType = PRIMITIVE_TYPE_FLOAT;
    Precondition Violations (0)
    Row Violation