CloneSet3731


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.967class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15177
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CategoryFilterActionGroup.java
25421
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java
Clone Instance
1
Line Count
5
Source Line
177
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/CategoryFilterActionGroup.java

                public void doubleClicked(ListDialogField field) {
                        List selectedElements = field.getSelectedElements();
                        if (selectedElements.size() == 1) {
                                Object selected = selectedElements.get(0);
                                fCategoryList.setChecked(selected, !fCategoryList.isChecked(selected));
                        }
                }


Clone Instance
2
Line Count
5
Source Line
421
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/UserLibraryPreferencePage.java

                /* (non-Javadoc)
                 * @see org.eclipse.jdt.internal.ui.wizards.dialogfields.IListAdapter#doubleClicked(org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField)
                 */
                public void doubleClicked(ListDialogField field) {
                        List selectedElements = fExportImportList.getSelectedElements();
                        if (selectedElements.size() == 1) {
                                Object elem = selectedElements.get(0);
                                fExportImportList.setChecked(elem, !fExportImportList.isChecked(elem));
                        }
                }


Clone AbstractionParameter Count: 3Parameter Bindings

/* (non-Javadoc)
                 * @see org.eclipse.jdt.internal.ui.wizards.dialogfields.IListAdapter#doubleClicked(org.eclipse.jdt.internal.ui.wizards.dialogfields.ListDialogField)
                 */
public void doubleClicked(ListDialogField field) {
  List selectedElements = [[#variablea4299e00]].getSelectedElements();
  if (selectedElements.size() == 1) {
    Object  [[#variablea4299d80]]= selectedElements.get(0);
     [[#variablea4299d00]].setChecked( [[#variablea4299d80]], ! [[#variablea4299d00]].isChecked( [[#variablea4299d80]]));
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a4299e00]]
fExportImportList 
12[[#a4299e00]]
field 
21[[#a4299d80]]
elem 
22[[#a4299d80]]
selected 
31[[#a4299d00]]
fExportImportList 
32[[#a4299d00]]
fCategoryList