CloneSet5699


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110295
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/OverflowingLRUCache.java
211372
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/LRUCache.java
Clone Instance
1
Line Count
10
Source Line
295
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/OverflowingLRUCache.java

        /* if this was the first entry */
        if (previous == null) {
                fEntryQueue = next;
        }
        else   {
                previous._fNext = next;
        }
        /* if this was the last entry */
        if (next == null) {
                fEntryQueueTail = previous;
        }
        else   {
                next._fPrevious = previous;
        }


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

                /* if this was the first entry */
                if (previous == null) {
                        fEntryQueue = next;
                }
                else   {
                        previous._fNext = next;
                }
                /* if this was the last entry */
                if (next == null) {
                        fEntryQueueTail = previous;
                }
                else   {
                        next._fPrevious = previous;
                }


Clone AbstractionParameter Count: 0Parameter Bindings

/* if this was the first entry */
if (previous == null) {
  fEntryQueue = next;
}
else {
  previous._fNext = next;
}
/* if this was the last entry */
if (next == null) {
  fEntryQueueTail = previous;
}
else {
  next._fPrevious = previous;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None