CloneSet2873


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8250.977class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18497
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
28507
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
Clone Instance
1
Line Count
8
Source Line
497
Source File
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();
        }


Clone Instance
2
Line Count
8
Source Line
507
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java

        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();
        }


Clone AbstractionParameter Count: 5Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#50b4c6c0]]
handleSealPackagesDetailsButtonPressed 
12[[#50b4c6c0]]
handleUnSealPackagesDetailsButtonPressed 
21[[#50b4c5e0]]
JarManifestWizardPage_sealedPackagesSelectionDialog_title 
22[[#50b4c5e0]]
JarManifestWizardPage_unsealedPackagesSelectionDialog_title 
31[[#4e23f280]]
JarManifestWizardPage_sealedPackagesSelectionDialog_message 
32[[#4e23f280]]
JarManifestWizardPage_unsealedPackagesSelectionDialog_message 
41[[#50b4c220]]
getPackagesToSeal 
42[[#50b4c220]]
getPackagesToUnseal 
51[[#50b4c600]]
setPackagesToSeal 
52[[#50b4c600]]
setPackagesToUnseal