CloneSet1378


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7240.966statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17193
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessingState.java
27211
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessingState.java
Clone Instance
1
Line Count
7
Source Line
193
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessingState.java

                if ((length = this.elementChangedListeners.length) == this.elementChangedListenerCount) {
                        System.arraycopy(this.elementChangedListeners, 0, this.elementChangedListeners = new IElementChangedListener[length * 2], 0, length);
                        System.arraycopy(this.elementChangedListenerMasks, 0, this.elementChangedListenerMasks = new int[length * 2], 0, length);
                }
                this.elementChangedListeners[this.elementChangedListenerCount] = listener;
                this.elementChangedListenerMasks[this.elementChangedListenerCount] = eventMask;
                this.elementChangedListenerCount++;


Clone Instance
2
Line Count
7
Source Line
211
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessingState.java

                if ((length = this.preResourceChangeListeners.length) == this.preResourceChangeListenerCount) {
                        System.arraycopy(this.preResourceChangeListeners, 0, this.preResourceChangeListeners = new IResourceChangeListener[length * 2], 0, length);
                        System.arraycopy(this.preResourceChangeEventMasks, 0, this.preResourceChangeEventMasks = new int[length * 2], 0, length);
                }
                this.preResourceChangeListeners[this.preResourceChangeListenerCount] = listener;
                this.preResourceChangeEventMasks[this.preResourceChangeListenerCount] = eventMask;
                this.preResourceChangeListenerCount++;


Clone AbstractionParameter Count: 4Parameter Bindings

if ((length = this. [[#variable56fe7900]].length) == this. [[#variable61d03700]]) {
  System.arraycopy(this. [[#variable56fe7900]], 0, this. [[#variable56fe7900]]= new [[#variableb8265b20]][length * 2], 0, length);
  System.arraycopy(this. [[#variableb9b27ba0]], 0, this. [[#variableb9b27ba0]]= new int[length * 2], 0, length);
}
this. [[#variable56fe7900]][this. [[#variable61d03700]]] = listener;
this. [[#variableb9b27ba0]][this. [[#variable61d03700]]] = eventMask;
this. [[#variable61d03700]]++;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56fe7900]]
elementChangedListeners 
12[[#56fe7900]]
preResourceChangeListeners 
21[[#61d03700]]
elementChangedListenerCount 
22[[#61d03700]]
preResourceChangeListenerCount 
31[[#b8265b20]]
IElementChangedListener 
32[[#b8265b20]]
IResourceChangeListener 
41[[#b9b27ba0]]
elementChangedListenerMasks 
42[[#b9b27ba0]]
preResourceChangeEventMasks