CloneSet1528


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
20260.976statement_sequence[10]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
120133
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java
22091
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/TreeListDialogField.java
Clone Instance
1
Line Count
20
Source Line
133
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/ListDialogField.java

                fParentElement = this ;

                fElements = new ArrayList(10);

                fButtonLabels = buttonLabels;
                if (fButtonLabels != null) {
                        int nButtons = fButtonLabels.length;
                        fButtonsEnabled = new boolean[nButtons];
                        for (int i = 0; i < nButtons; i++) {
                                fButtonsEnabled[i] = true;
                        }
                }

                fTable = null;
                fTableControl = null;
                fButtonsControl = null;
                fTableColumns = null;

                fRemoveButtonIndex = -1;
                fUpButtonIndex = -1;


Clone Instance
2
Line Count
20
Source Line
91
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/TreeListDialogField.java

                fParentElement = this ;

                fElements = new ArrayList(10);

                fButtonLabels = buttonLabels;
                if (fButtonLabels != null) {
                        int nButtons = fButtonLabels.length;
                        fButtonsEnabled = new boolean[nButtons];
                        for (int i = 0; i < nButtons; i++) {
                                fButtonsEnabled[i] = true;
                        }
                }

                fTree = null;
                fTreeControl = null;
                fButtonsControl = null;

                fRemoveButtonIndex = -1;
                fUpButtonIndex = -1;
                fDownButtonIndex = -1;


Clone AbstractionParameter Count: 6Parameter Bindings

fParentElement = this ;
fElements = new ArrayList(10);
fButtonLabels = buttonLabels;
if (fButtonLabels != null) {
  int nButtons = fButtonLabels.length;
  fButtonsEnabled = new boolean[nButtons];
  for (int i = 0; i < nButtons; i++) {
    fButtonsEnabled[i] = true;
  }
}
 [[#variablea0f53220]]= null;
 [[#variablea0f531a0]]= null;
fButtonsControl = null;
 [[#variablea0f53160]]= [[#variable5256e720]];
 [[#variable5256ed80]]= -1;
 [[#variablea0f530e0]]= -1;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0f53220]]
fTree 
12[[#a0f53220]]
fTable 
21[[#a0f531a0]]
fTreeControl 
22[[#a0f531a0]]
fTableControl 
31[[#a0f53160]]
fRemoveButtonIndex 
32[[#a0f53160]]
fTableColumns 
41[[#5256e720]]
-1 
42[[#5256e720]]
null 
51[[#5256ed80]]
fUpButtonIndex 
52[[#5256ed80]]
fRemoveButtonIndex 
61[[#a0f530e0]]
fDownButtonIndex 
62[[#a0f530e0]]
fUpButtonIndex