CloneSet2477


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6201.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16120
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/NewVariableEntryDialog.java
26101
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableBlock.java
Clone Instance
1
Line Count
6
Source Line
120
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/NewVariableEntryDialog.java

                fVariablesList.setViewerSorter(new ViewerSorter() {
                        public int compare(Viewer viewer, Object e1, Object e2) {
                                if (e1 instanceof CPVariableElement && e2 instanceof CPVariableElement) {
                                        return ((CPVariableElement) e1).getName().compareTo(((CPVariableElement) e2).getName());
                                }
                                return super.compare(viewer, e1, e2);
                        }
                                               } );


Clone Instance
2
Line Count
6
Source Line
101
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/VariableBlock.java

                fVariablesList.setViewerSorter(new ViewerSorter() {
                        public int compare(Viewer viewer, Object e1, Object e2) {
                                if (e1 instanceof CPVariableElement && e2 instanceof CPVariableElement) {
                                        return ((CPVariableElement) e1).getName().compareTo(((CPVariableElement) e2).getName());
                                }
                                return super.compare(viewer, e1, e2);
                        }
                                               } );


Clone AbstractionParameter Count: 0Parameter Bindings

fVariablesList.setViewerSorter(new ViewerSorter() {
                                 public int compare(Viewer viewer, Object e1, Object e2) {
                                   if (e1 instanceof CPVariableElement && e2 instanceof CPVariableElement) {
                                     return ((CPVariableElement) e1).getName().compareTo(((CPVariableElement) e2).getName());
                                   }
                                   return super.compare(viewer, e1, e2);
                                 }
                               } );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None