CloneSet2511


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1759
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/VisibilityControlUtil.java
27502
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java
Clone Instance
1
Line Count
7
Source Line
59
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/VisibilityControlUtil.java

                        radio.setText(labels[i]);
                        radio.setData(visibilityCode);
                        radio.setSelection(visibilityCode.equals(initialVisibility));
                        radio.setEnabled(allowedVisibilities.contains(visibilityCode));
                        radio.addSelectionListener(new SelectionAdapter() {
                                public void widgetSelected(SelectionEvent event) {
                                        visibilityChangeListener.visibilityChanged(((Integer) event.widget.getData()).intValue());
                                }
                                                   } );


Clone Instance
2
Line Count
7
Source Line
502
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/SourceActionDialog.java

                        radio.setText(labels[i]);
                        radio.setData(visibilityCode);
                        radio.setSelection(visibilityCode.equals(initialVisibility));
                        radio.setEnabled(allowedVisibilities.contains(visibilityCode));
                        radio.addSelectionListener(new SelectionAdapter() {
                                public void widgetSelected(SelectionEvent event) {
                                        visibilityChangeListener.visibilityChanged(((Integer) event.widget.getData()).intValue());
                                }
                                                   } );


Clone AbstractionParameter Count: 0Parameter Bindings

radio.setText(labels[i]);
radio.setData(visibilityCode);
radio.setSelection(visibilityCode.equals(initialVisibility));
radio.setEnabled(allowedVisibilities.contains(visibilityCode));
radio.addSelectionListener(new SelectionAdapter() {
                             public void widgetSelected(SelectionEvent event) {
                               visibilityChangeListener.visibilityChanged(((Integer) event.widget.getData()).intValue());
                             }
                           } );
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None