this.adapterFactory = adapterFactory; this.text = text; this.image = image; this.children = new ItemProviderNotifyingArrayList<Object>(children);
this.adapterFactory = adapterFactory; this.text = text; this.children = new ItemProviderNotifyingArrayList<Object>();
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/edit/provider/ItemProvider.java File path: /emf-2.4.1/src/org/eclipse/emf/edit/provider/ItemProvider.java
Method name: void ItemProvider(AdapterFactory, String, Object, Collection) Method name: void ItemProvider(AdapterFactory, String)
Number of AST nodes: 4 Number of AST nodes: 3
1
this.adapterFactory = adapterFactory;
1
this.adapterFactory = adapterFactory;
2
    this.text = text;
2
    this.text = text;
3
    this.image = image;
4
    this.children = new ItemProviderNotifyingArrayList<Object>(children);
3
    this.children = new ItemProviderNotifyingArrayList<Object>();
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 comparisons7
  1. {Refactorable}
    Mapping Summary
    Number of mapped statements3
    Number of unmapped statements in the first code fragment1
    Number of unmapped statements in the second code fragment0
    Time elapsed for statement mapping (ms)0.0
    Clone typeType 3
    Mapped Statements
    ID Statement ID Statement
    1
    this.adapterFactory = adapterFactory;
    1
    this.adapterFactory = adapterFactory;
    2
    this.text = text;
    2
    this.text = text;
    3
    this.image = image;
                                            
    4
    this.children = new ItemProviderNotifyingArrayList<Object>(children);
    4
    this.children = new ItemProviderNotifyingArrayList<Object>(children);
    3
    this.children = new ItemProviderNotifyingArrayList<Object>();
    Differences
    Expression1Expression2Difference
    new ItemProviderNotifyingArrayList(children)new ItemProviderNotifyingArrayList()ARGUMENT_NUMBER_MISMATCH
    3
    this.children = new ItemProviderNotifyingArrayList<Object>();
    Precondition Violations (0)
    Row Violation