public void addUnique(EStructuralFeature feature, Object object)
{
modCount = -1;
addUnique(createRawEntry(feature, object));
}
public void addUnique(EStructuralFeature feature, int index, Object object)
{
modCount = -1;
addUnique(entryIndex(feature, index), createRawEntry(feature, object));
public void addUnique(EStructuralFeature feature, Object object)
{
modCount = -1;
addUnique(createRawEntry(feature, object));
}
public void addUnique(EStructuralFeature feature, int index, Object object)
{
modCount = -1;
addUnique(entryIndex(feature, index), createRawEntry(feature, object));
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/util/BasicFeatureMap.java
|
|
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/util/DelegatingFeatureMap.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public void addUnique(EStructuralFeature feature, Object object)↵ | | 1 | public void addUnique(EStructuralFeature feature, Object object)↵
|
2 | {↵ | | 2 | {↵
|
3 | modCount = -1;↵ | | 3 | modCount = -1;↵
|
4 | addUnique(createRawEntry(feature, object));↵ | | 4 | addUnique(createRawEntry(feature, object));↵
|
5 | }↵ | | 5 | }↵
|
|
6 | public void addUnique(EStructuralFeature feature, int index, Object object)↵ | | 6 | public void addUnique(EStructuralFeature feature, int index, Object object)↵
|
7 | {↵ | | 7 | {↵
|
8 | modCount = -1;↵ | | 8 | modCount = -1;↵
|
9 | addUnique(entryIndex(feature, index), createRawEntry(feature, object)); | | 9 | addUnique(entryIndex(feature, index), createRawEntry(feature, object));
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |