CloneSet2107


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15210.957statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115232
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/CheckedTableSelectionDialog.java
215182
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/MultipleFolderSelectionDialog.java
Clone Instance
1
Line Count
15
Source Line
232
Source File
plugins/org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/util/CheckedTableSelectionDialog.java

                fViewer.setContentProvider(fContentProvider);
                fViewer.setLabelProvider(fLabelProvider);
                fViewer.addCheckStateListener(new ICheckStateListener() {
                        public void checkStateChanged(CheckStateChangedEvent event) {
                                updateOKStatus();
                        }
                                              } );

                fViewer.setSorter(fSorter);
                if (fFilters != null) {
                        for (int i = 0; i != fFilters.size(); i++)
                                fViewer.addFilter((ViewerFilter) fFilters.get(i));
                }

                fViewer.setInput(fInput);


Clone Instance
2
Line Count
15
Source Line
182
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/MultipleFolderSelectionDialog.java

                fViewer.setContentProvider(fContentProvider);
                fViewer.setLabelProvider(fLabelProvider);
                fViewer.addCheckStateListener(new ICheckStateListener() {
                        public void checkStateChanged(CheckStateChangedEvent event) {
                                updateOKStatus();
                        }
                                              } );

                fViewer.setSorter(new ResourceSorter(ResourceSorter.NAME));
                if (fFilters != null) {
                        for (int i = 0; i != fFilters.size(); i++)
                                fViewer.addFilter((ViewerFilter) fFilters.get(i));
                }

                fViewer.setInput(fInput);


Clone AbstractionParameter Count: 1Parameter Bindings

fViewer.setContentProvider(fContentProvider);
fViewer.setLabelProvider(fLabelProvider);
fViewer.addCheckStateListener(new ICheckStateListener() {
                                public void checkStateChanged(CheckStateChangedEvent event) {
                                  updateOKStatus();
                                }
                              } );
fViewer.setSorter( [[#variable9b243e60]]);
if (fFilters != null) {
  for (int i = 0; i != fFilters.size(); i++)
    fViewer.addFilter((ViewerFilter) fFilters.get(i));
}
fViewer.setInput(fInput);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9b243e60]]
fSorter 
12[[#9b243e60]]
new ResourceSorter(ResourceSorter.NAME)