CloneSet1483


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14201.000statement_sequence[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11482
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/MethodStubsSelectionButtonGroup.java
21362
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/SelectionButtonDialogFieldGroup.java
Clone Instance
1
Line Count
14
Source Line
82
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/wizards/MethodStubsSelectionButtonGroup.java

                int nButtons = buttonNames.length;
                fButtonsSelected = new boolean[nButtons];
                fButtonsEnabled = new boolean[nButtons];
                for (int i = 0; i < nButtons; i++) {
                        fButtonsSelected[i] = false;
                        fButtonsEnabled[i] = true;
                }

                if (buttonsStyle == SWT.RADIO) {
                        fButtonsSelected[0] = true;
                }

                fGroupBorderStyle = borderStyle;
                fGroupNumberOfColumns = (nColumns <= 0) ? nButtons:  nColumns;


Clone Instance
2
Line Count
13
Source Line
62
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/dialogfields/SelectionButtonDialogFieldGroup.java

                int nButtons = buttonNames.length;
                fButtonsSelected = new boolean[nButtons];
                fButtonsEnabled = new boolean[nButtons];
                for (int i = 0; i < nButtons; i++) {
                        fButtonsSelected[i] = false;
                        fButtonsEnabled[i] = true;
                }
                if (buttonsStyle == SWT.RADIO) {
                        fButtonsSelected[0] = true;
                }

                fGroupBorderStyle = borderStyle;
                fGroupNumberOfColumns = (nColumns <= 0) ? nButtons:  nColumns;


Clone AbstractionParameter Count: 0Parameter Bindings

int nButtons = buttonNames.length;
fButtonsSelected = new boolean[nButtons];
fButtonsEnabled = new boolean[nButtons];
for (int i = 0; i < nButtons; i++) {
  fButtonsSelected[i] = false;
  fButtonsEnabled[i] = true;
}
if (buttonsStyle == SWT.RADIO) {
  fButtonsSelected[0] = true;
}
fGroupBorderStyle = borderStyle;
fGroupNumberOfColumns = (nColumns <= 0) ? nButtons: nColumns;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None