Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
17 | 2 | 4 | 0.988 | statement_sequence[8] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 17 | 875 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java |
2 | 17 | 278 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/OutputLocationDialog.java |
| ||||
for (int i = 0; i < allProjects.length; i++) { if ( !allProjects[i].equals(currProject)) { rejectedElements.add(allProjects[i]); } } ViewerFilter filter = new TypedViewerFilter(acceptedClasses, rejectedElements.toArray()); ILabelProvider lp = new WorkbenchLabelProvider(); ITreeContentProvider cp = new WorkbenchContentProvider(); IResource initSelection = null; if (fOutputLocationPath != null) { initSelection = fWorkspaceRoot.findMember(fOutputLocationPath); } FolderSelectionDialog dialog = new FolderSelectionDialog(getShell(), lp, cp); dialog.setTitle(NewWizardMessages.BuildPathsBlock_ChooseOutputFolderDialog_title); |
| ||||
for (int i = 0; i < allProjects.length; i++) { if ( !allProjects[i].equals(fCurrProject)) { rejectedElements.add(allProjects[i]); } } ViewerFilter filter = new TypedViewerFilter(acceptedClasses, rejectedElements.toArray()); ILabelProvider lp = new WorkbenchLabelProvider(); ITreeContentProvider cp = new WorkbenchContentProvider(); IResource initSelection = null; if (fOutputLocation != null) { initSelection = root.findMember(fOutputLocation); } FolderSelectionDialog dialog = new FolderSelectionDialog(getShell(), lp, cp); dialog.setTitle(NewWizardMessages.OutputLocationDialog_ChooseOutputFolder_title); |
| |||
for (int i = 0; i < allProjects.length; i++) { if ( !allProjects[i].equals( [[#variable54196ba0]])) { rejectedElements.add(allProjects[i]); } } ViewerFilter filter = new TypedViewerFilter(acceptedClasses, rejectedElements.toArray()); ILabelProvider lp = new WorkbenchLabelProvider(); ITreeContentProvider cp = new WorkbenchContentProvider(); IResource initSelection = null; if ( [[#variable54196ae0]]!= null) { initSelection = [[#variable54196a80]].findMember( [[#variable54196ae0]]); } FolderSelectionDialog dialog = new FolderSelectionDialog(getShell(), lp, cp); dialog.setTitle(NewWizardMessages. [[#variable5e51f7c0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54196ba0]] | currProject |
1 | 2 | [[#54196ba0]] | fCurrProject |
2 | 1 | [[#54196ae0]] | fOutputLocationPath |
2 | 2 | [[#54196ae0]] | fOutputLocation |
3 | 1 | [[#54196a80]] | fWorkspaceRoot |
3 | 2 | [[#54196a80]] | root |
4 | 1 | [[#5e51f7c0]] | BuildPathsBlock_ChooseOutputFolderDialog_title |
4 | 2 | [[#5e51f7c0]] | OutputLocationDialog_ChooseOutputFolder_title |