CloneSet8578


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15380
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/OverflowingLRUCache.java
25447
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/LRUCache.java
Clone Instance
1
Line Count
5
Source Line
380
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/OverflowingLRUCache.java

        /**
         * Sets the maximum amount of space that the cache can store
         *
         * @param limit Number of units of cache space
         */
        public void setSpaceLimit(int limit) {
                if (limit < fSpaceLimit) {
                        makeSpace(fSpaceLimit - limit);
                }
                fSpaceLimit = limit;
        }


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

        /**
         * Sets the maximum amount of space that the cache can store
         *
         * @param limit Number of units of cache space
         */
        public void setSpaceLimit(int limit) {
                if (limit < fSpaceLimit) {
                        makeSpace(fSpaceLimit - limit);
                }
                fSpaceLimit = limit;
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * Sets the maximum amount of space that the cache can store
         *
         * @param limit Number of units of cache space
         */
public void setSpaceLimit(int limit) {
  if (limit < fSpaceLimit) {
    makeSpace(fSpaceLimit - limit);
  }
  fSpaceLimit = limit;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None