CloneSet1485


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10310.991class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110434
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java
210321
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ProjectsWorkbookPage.java
310362
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java
Clone Instance
1
Line Count
10
Source Line
434
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/LibrariesWorkbookPage.java

        /**
         * Method editEntry.
         */
        private void editEntry() {
                List selElements = fLibrariesList.getSelectedElements();
                if (selElements.size() != 1) {
                        return;
                }
                Object elem = selElements.get(0);
                if (fLibrariesList.getIndexOfElement(elem) != -1) {
                        editElementEntry((CPListElement) elem);
                }
                else   if (elem instanceof CPListElementAttribute) {
                        editAttributeEntry((CPListElementAttribute) elem);
                       }
        }


Clone Instance
2
Line Count
10
Source Line
321
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ProjectsWorkbookPage.java

        /**
         * Method editEntry.
         */
        private void editEntry() {
                List selElements = fProjectsList.getSelectedElements();
                if (selElements.size() != 1) {
                        return;
                }
                Object elem = selElements.get(0);
                if (fProjectsList.getIndexOfElement(elem) != -1) {
                        editElementEntry((CPListElement) elem);
                }
                else   if (elem instanceof CPListElementAttribute) {
                        editAttributeEntry((CPListElementAttribute) elem);
                       }
        }


Clone Instance
3
Line Count
10
Source Line
362
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SourceContainerWorkbookPage.java

        private void editEntry() {
                List selElements = fFoldersList.getSelectedElements();
                if (selElements.size() != 1) {
                        return;
                }
                Object elem = selElements.get(0);
                if (fFoldersList.getIndexOfElement(elem) != -1) {
                        editElementEntry((CPListElement) elem);
                }
                else   if (elem instanceof CPListElementAttribute) {
                        editAttributeEntry((CPListElementAttribute) elem);
                       }
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Method editEntry.
         */
private void editEntry() {
  List selElements = [[#variableb9ff75e0]].getSelectedElements();
  if (selElements.size() != 1) {
    return;
  }
  Object elem = selElements.get(0);
  if ( [[#variableb9ff75e0]].getIndexOfElement(elem) != -1) {
    editElementEntry((CPListElement) elem);
  }
  else
    if (elem instanceof CPListElementAttribute) {
      editAttributeEntry((CPListElementAttribute) elem);
    }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b9ff75e0]]
fFoldersList 
12[[#b9ff75e0]]
fProjectsList 
13[[#b9ff75e0]]
fLibrariesList