Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 5 | 0.977 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 497 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java |
2 | 8 | 507 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java |
| ||||
protected void handleSealPackagesDetailsButtonPressed() { SelectionDialog dialog = createPackageDialog(getPackagesForSelectedResources(fJarPackage)); dialog.setTitle(JarPackagerMessages.JarManifestWizardPage_sealedPackagesSelectionDialog_title); dialog.setMessage(JarPackagerMessages.JarManifestWizardPage_sealedPackagesSelectionDialog_message); dialog.setInitialSelections(fJarPackage.getPackagesToSeal()); if (dialog.open() == Window.OK) fJarPackage.setPackagesToSeal(getPackagesFromDialog(dialog)); updateSealingInfo(); } |
| ||||
protected void handleUnSealPackagesDetailsButtonPressed() { SelectionDialog dialog = createPackageDialog(getPackagesForSelectedResources(fJarPackage)); dialog.setTitle(JarPackagerMessages.JarManifestWizardPage_unsealedPackagesSelectionDialog_title); dialog.setMessage(JarPackagerMessages.JarManifestWizardPage_unsealedPackagesSelectionDialog_message); dialog.setInitialSelections(fJarPackage.getPackagesToUnseal()); if (dialog.open() == Window.OK) fJarPackage.setPackagesToUnseal(getPackagesFromDialog(dialog)); updateSealingInfo(); } |
| |||
protected void [[#variable50b4c6c0]]() { SelectionDialog dialog = createPackageDialog(getPackagesForSelectedResources(fJarPackage)); dialog.setTitle(JarPackagerMessages. [[#variable50b4c5e0]]); dialog.setMessage(JarPackagerMessages. [[#variable4e23f280]]); dialog.setInitialSelections(fJarPackage. [[#variable50b4c220]]()); if (dialog.open() == Window.OK) fJarPackage. [[#variable50b4c600]](getPackagesFromDialog(dialog)); updateSealingInfo(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#50b4c6c0]] | handleSealPackagesDetailsButtonPressed |
1 | 2 | [[#50b4c6c0]] | handleUnSealPackagesDetailsButtonPressed |
2 | 1 | [[#50b4c5e0]] | JarManifestWizardPage_sealedPackagesSelectionDialog_title |
2 | 2 | [[#50b4c5e0]] | JarManifestWizardPage_unsealedPackagesSelectionDialog_title |
3 | 1 | [[#4e23f280]] | JarManifestWizardPage_sealedPackagesSelectionDialog_message |
3 | 2 | [[#4e23f280]] | JarManifestWizardPage_unsealedPackagesSelectionDialog_message |
4 | 1 | [[#50b4c220]] | getPackagesToSeal |
4 | 2 | [[#50b4c220]] | getPackagesToUnseal |
5 | 1 | [[#50b4c600]] | setPackagesToSeal |
5 | 2 | [[#50b4c600]] | setPackagesToUnseal |