CloneSet4596


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9201.000statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1989
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/OverflowingLRUCache.java
29154
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/LRUCache.java
Clone Instance
1
Line Count
9
Source Line
89
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/OverflowingLRUCache.java

                LRUCacheEntry qEntry;

                /* Preserve order of entries by copying from oldest to newest */
                qEntry = this.fEntryQueueTail;
                while (qEntry != null) {
                        newCache.privateAdd (qEntry._fKey, qEntry._fValue, qEntry._fSpace);
                        qEntry = qEntry._fPrevious;
                }
                return newCache;


Clone Instance
2
Line Count
9
Source Line
154
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/LRUCache.java

                LRUCacheEntry qEntry;

                /* Preserve order of entries by copying from oldest to newest */
                qEntry = this.fEntryQueueTail;
                while (qEntry != null) {
                        newCache.privateAdd (qEntry._fKey, qEntry._fValue, qEntry._fSpace);
                        qEntry = qEntry._fPrevious;
                }
                return newCache;


Clone AbstractionParameter Count: 0Parameter Bindings

LRUCacheEntry qEntry;
/* Preserve order of entries by copying from oldest to newest */
qEntry = this.fEntryQueueTail;
while (qEntry != null) {
  newCache.privateAdd(qEntry._fKey, qEntry._fValue, qEntry._fSpace);
  qEntry = qEntry._fPrevious;
}
return newCache;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None