Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 4 | 0.972 | statement_sequence[6] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 383 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessingState.java |
2 | 12 | 413 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/DeltaProcessingState.java |
| ||||
// copy trailing listeners int trailingLength = this.elementChangedListenerCount - i - 1; if (trailingLength > 0) { System.arraycopy(this.elementChangedListeners, i + 1, newListeners, i, trailingLength); System.arraycopy(this.elementChangedListenerMasks, i + 1, newMasks, i, trailingLength); } // update manager listener state (#fire need to iterate over original listeners through a local variable to hold onto // the original ones) this.elementChangedListeners = newListeners; this.elementChangedListenerMasks = newMasks; this.elementChangedListenerCount--; return; |
| ||||
// copy trailing listeners int trailingLength = this.preResourceChangeListenerCount - i - 1; if (trailingLength > 0) { System.arraycopy(this.preResourceChangeListeners, i + 1, newListeners, i, trailingLength); System.arraycopy(this.preResourceChangeEventMasks, i + 1, newEventMasks, i, trailingLength); } // update manager listener state (#fire need to iterate over original listeners through a local variable to hold onto // the original ones) this.preResourceChangeListeners = newListeners; this.preResourceChangeEventMasks = newEventMasks; this.preResourceChangeListenerCount--; return; |
| |||
// copy trailing listeners int trailingLength = this. [[#variableb3574a60]] - i - 1; if (trailingLength > 0) { System.arraycopy(this. [[#variablea1ba3160]], i + 1, newListeners, i, trailingLength); System.arraycopy(this. [[#variable5e6183a0]], i + 1, [[#variableb3574540]], i, trailingLength); } // update manager listener state (#fire need to iterate over original listeners through a local variable to hold onto // the original ones) this. [[#variablea1ba3160]]= newListeners; this. [[#variable5e6183a0]]= [[#variableb3574540]]; this. [[#variableb3574a60]]--; return; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b3574a60]] | preResourceChangeListenerCount |
1 | 2 | [[#b3574a60]] | elementChangedListenerCount |
2 | 1 | [[#a1ba3160]] | preResourceChangeListeners |
2 | 2 | [[#a1ba3160]] | elementChangedListeners |
3 | 1 | [[#5e6183a0]] | preResourceChangeEventMasks |
3 | 2 | [[#5e6183a0]] | elementChangedListenerMasks |
4 | 1 | [[#b3574540]] | newEventMasks |
4 | 2 | [[#b3574540]] | newMasks |