Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
30 | 2 | 0 | 1.000 | statement_sequence[12] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 30 | 97 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ExclusionInclusionDialog.java |
2 | 30 | 86 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/SetFilterWizardPage.java |
| ||||
fCurrProject = entryToEdit.getJavaProject().getProject(); IWorkspaceRoot root = fCurrProject.getWorkspace().getRoot(); IResource res = root.findMember(entryToEdit.getPath()); if (res instanceof IContainer) { fCurrSourceFolder = (IContainer) res; } String excLabel = NewWizardMessages.ExclusionInclusionDialog_exclusion_pattern_label; ImageDescriptor excDescriptor = JavaPluginImages.DESC_OBJS_EXCLUSION_FILTER_ATTRIB; String[] excButtonLabels = new String[] { NewWizardMessages.ExclusionInclusionDialog_exclusion_pattern_add, NewWizardMessages.ExclusionInclusionDialog_exclusion_pattern_add_multiple, NewWizardMessages.ExclusionInclusionDialog_exclusion_pattern_edit, null, NewWizardMessages.ExclusionInclusionDialog_exclusion_pattern_remove }; String incLabel = NewWizardMessages.ExclusionInclusionDialog_inclusion_pattern_label; ImageDescriptor incDescriptor = JavaPluginImages.DESC_OBJS_INCLUSION_FILTER_ATTRIB; String[] incButtonLabels = new String[] { NewWizardMessages.ExclusionInclusionDialog_inclusion_pattern_add, NewWizardMessages.ExclusionInclusionDialog_inclusion_pattern_add_multiple, NewWizardMessages.ExclusionInclusionDialog_inclusion_pattern_edit, null, NewWizardMessages.ExclusionInclusionDialog_inclusion_pattern_remove }; fExclusionPatternList = createListContents(entryToEdit, CPListElement.EXCLUSION, excLabel, excDescriptor, excButtonLabels); fInclusionPatternList = createListContents(entryToEdit, CPListElement.INCLUSION, incLabel, incDescriptor, incButtonLabels); |
| ||||
fCurrProject = entryToEdit.getJavaProject().getProject(); IWorkspaceRoot root = fCurrProject.getWorkspace().getRoot(); IResource res = root.findMember(entryToEdit.getPath()); if (res instanceof IContainer) { fCurrSourceFolder = (IContainer) res; } String excLabel = NewWizardMessages.ExclusionInclusionDialog_exclusion_pattern_label; ImageDescriptor excDescriptor = JavaPluginImages.DESC_OBJS_EXCLUSION_FILTER_ATTRIB; String[] excButtonLabels = new String[] { NewWizardMessages.ExclusionInclusionDialog_exclusion_pattern_add, NewWizardMessages.ExclusionInclusionDialog_exclusion_pattern_add_multiple, NewWizardMessages.ExclusionInclusionDialog_exclusion_pattern_edit, null, NewWizardMessages.ExclusionInclusionDialog_exclusion_pattern_remove }; String incLabel = NewWizardMessages.ExclusionInclusionDialog_inclusion_pattern_label; ImageDescriptor incDescriptor = JavaPluginImages.DESC_OBJS_INCLUSION_FILTER_ATTRIB; String[] incButtonLabels = new String[] { NewWizardMessages.ExclusionInclusionDialog_inclusion_pattern_add, NewWizardMessages.ExclusionInclusionDialog_inclusion_pattern_add_multiple, NewWizardMessages.ExclusionInclusionDialog_inclusion_pattern_edit, null, NewWizardMessages.ExclusionInclusionDialog_inclusion_pattern_remove }; fExclusionPatternList = createListContents(entryToEdit, CPListElement.EXCLUSION, excLabel, excDescriptor, excButtonLabels); fInclusionPatternList = createListContents(entryToEdit, CPListElement.INCLUSION, incLabel, incDescriptor, incButtonLabels); |
| |||
fCurrProject = entryToEdit.getJavaProject().getProject(); IWorkspaceRoot root = fCurrProject.getWorkspace().getRoot(); IResource res = root.findMember(entryToEdit.getPath()); if (res instanceof IContainer) { fCurrSourceFolder = (IContainer) res; } String excLabel = NewWizardMessages.ExclusionInclusionDialog_exclusion_pattern_label; ImageDescriptor excDescriptor = JavaPluginImages.DESC_OBJS_EXCLUSION_FILTER_ATTRIB; String[] excButtonLabels = new String[] { NewWizardMessages.ExclusionInclusionDialog_exclusion_pattern_add, NewWizardMessages.ExclusionInclusionDialog_exclusion_pattern_add_multiple, NewWizardMessages.ExclusionInclusionDialog_exclusion_pattern_edit, null, NewWizardMessages.ExclusionInclusionDialog_exclusion_pattern_remove }; String incLabel = NewWizardMessages.ExclusionInclusionDialog_inclusion_pattern_label; ImageDescriptor incDescriptor = JavaPluginImages.DESC_OBJS_INCLUSION_FILTER_ATTRIB; String[] incButtonLabels = new String[] { NewWizardMessages.ExclusionInclusionDialog_inclusion_pattern_add, NewWizardMessages.ExclusionInclusionDialog_inclusion_pattern_add_multiple, NewWizardMessages.ExclusionInclusionDialog_inclusion_pattern_edit, null, NewWizardMessages.ExclusionInclusionDialog_inclusion_pattern_remove }; fExclusionPatternList = createListContents(entryToEdit, CPListElement.EXCLUSION, excLabel, excDescriptor, excButtonLabels); fInclusionPatternList = createListContents(entryToEdit, CPListElement.INCLUSION, incLabel, incDescriptor, incButtonLabels); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |