CloneSet2787


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.995executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17338
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ProjectsWorkbookPage.java
27401
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java
Clone Instance
1
Line Count
7
Source Line
338
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ProjectsWorkbookPage.java

                       if (key.equals(CPListElement.NATIVE_LIB_PATH)) {
                        CPListElement selElement = elem.getParent();
                        NativeLibrariesDialog dialog = new NativeLibrariesDialog(getShell(), selElement);
                        if (dialog.open() == Window.OK) {
                                selElement.setAttribute(CPListElement.NATIVE_LIB_PATH, dialog.getNativeLibraryPath());
                                fProjectsList.refresh();
                                fClassPathList.dialogFieldChanged(); // validate
                        }
                       }


Clone Instance
2
Line Count
7
Source Line
401
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java

                       if (key.equals(CPListElement.NATIVE_LIB_PATH)) {
                        CPListElement selElement = elem.getParent();
                        NativeLibrariesDialog dialog = new NativeLibrariesDialog(getShell(), selElement);
                        if (dialog.open() == Window.OK) {
                                selElement.setAttribute(CPListElement.NATIVE_LIB_PATH, dialog.getNativeLibraryPath());
                                fFoldersList.refresh();
                                fClassPathList.dialogFieldChanged(); // validate
                        }
                       }


Clone AbstractionParameter Count: 1Parameter Bindings

if (key.equals(CPListElement.NATIVE_LIB_PATH)) {
  CPListElement selElement = elem.getParent();
  NativeLibrariesDialog dialog = new NativeLibrariesDialog(getShell(), selElement);
  if (dialog.open() == Window.OK) {
    selElement.setAttribute(CPListElement.NATIVE_LIB_PATH, dialog.getNativeLibraryPath());
     [[#variable9c0b0a80]].refresh();
    fClassPathList.dialogFieldChanged(); // validate
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9c0b0a80]]
fProjectsList 
12[[#9c0b0a80]]
fFoldersList