CloneSet1800


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4520.952primary_not_new_array
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1478
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/History.java
24332
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsConstraintsSolver.java
3490
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsTCModel.java
44109
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/TypeEnvironment.java
54279
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CategoryFilterActionGroup.java
Clone Instance
1
Line Count
4
Source Line
78
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/History.java

                          new LinkedHashMap(80, 0.75F, true) {
                        private static final long serialVersionUID = 1L;

                        protected boolean removeEldestEntry(Map.Entry eldest) {
                                return size() > MAX_HISTORY_SIZE;
                        }
                          }


Clone Instance
2
Line Count
4
Source Line
332
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsConstraintsSolver.java

                                                                new LinkedHashMap(MAX_CACHE, 0.75F, true) {
                private static final long serialVersionUID = 1L;

                protected boolean removeEldestEntry(Map.Entry eldest) {
                        return size() > MAX_CACHE;
                }
                                                                }


Clone Instance
3
Line Count
4
Source Line
90
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/generics/InferTypeArgumentsTCModel.java

                                                    new LinkedHashMap(MAX_TTYPE_CACHE, 0.75F, true) {
                private static final long serialVersionUID = 1L;

                protected boolean removeEldestEntry(Map.Entry eldest) {
                        return size() > MAX_TTYPE_CACHE;
                }
                                                    }


Clone Instance
4
Line Count
4
Source Line
109
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/TypeEnvironment.java

                                                           new LinkedHashMap(50, 0.75F, true) {
                private static final long serialVersionUID = 1L;

                protected boolean removeEldestEntry(Map.Entry eldest) {
                        return size() > MAX_ENTRIES;
                }
                                                           }


Clone Instance
5
Line Count
4
Source Line
279
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CategoryFilterActionGroup.java

                          new LinkedHashMap(MAX_NUMBER_OF_CATEGORIES_IN_MENU * 2, 0.75F, true) {
                        private static final long serialVersionUID = 1L;

                        protected boolean removeEldestEntry(Map.Entry eldest) {
                                return size() > MAX_NUMBER_OF_CATEGORIES_IN_MENU;
                        }
                          }


Clone AbstractionParameter Count: 2Parameter Bindings

new LinkedHashMap( [[#variable9ce57780]], 0.75F, true) {
  private static final long serialVersionUID = 1L;

  protected boolean removeEldestEntry(Map.Entry eldest) {
    return size() >  [[#variable9ce57720]];
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9ce57780]]
80 
12[[#9ce57780]]
MAX_CACHE 
13[[#9ce57780]]
MAX_TTYPE_CACHE 
14[[#9ce57780]]
50 
15[[#9ce57780]]
MAX_NUMBER_OF_CATEGORIES_IN_MENU * 2 
21[[#9ce57720]]
MAX_HISTORY_SIZE 
22[[#9ce57720]]
MAX_CACHE 
23[[#9ce57720]]
MAX_TTYPE_CACHE 
24[[#9ce57720]]
MAX_ENTRIES 
25[[#9ce57720]]
MAX_NUMBER_OF_CATEGORIES_IN_MENU