CloneSet2783


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9260.964executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19551
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
29562
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
Clone Instance
1
Line Count
9
Source Line
551
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java

                                               {
                        fSealPackagesLabel.setText(""); //$NON-NLS-1$
                        int i = fJarPackage.getPackagesToUnseal().length;
                        if (i == 0)
                                fSealJarLabel.setText(JarPackagerMessages.JarManifestWizardPage_jarSealed);
                        else if (i == 1)
                                fSealJarLabel.setText(JarPackagerMessages.JarManifestWizardPage_jarSealedExceptOne);
                             else
                                fSealJarLabel.setText(Messages.format(JarPackagerMessages.JarManifestWizardPage_jarSealedExceptSome, new Integer(i)));
                                               }


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

                     {
                        fSealJarLabel.setText(""); //$NON-NLS-1$
                        int i = fJarPackage.getPackagesToSeal().length;
                        if (i == 0)
                                fSealPackagesLabel.setText(JarPackagerMessages.JarManifestWizardPage_nothingSealed);
                        else if (i == 1)
                                fSealPackagesLabel.setText(JarPackagerMessages.JarManifestWizardPage_onePackageSealed);
                             else
                                fSealPackagesLabel.setText(Messages.format(JarPackagerMessages.JarManifestWizardPage_somePackagesSealed, new Integer(i)));
                     }


Clone AbstractionParameter Count: 6Parameter Bindings

{
   [[#variable9b85aaa0]].setText(""); //$NON-NLS-1$
  int i = fJarPackage. [[#variable9b85a9c0]]().length;
  if (i == 0)
     [[#variable9b85a940]].setText(JarPackagerMessages. [[#variable9b85a8c0]]);
  else
    if (i == 1)
       [[#variable9b85a940]].setText(JarPackagerMessages. [[#variable9b85a660]]);
    else
       [[#variable9b85a940]].setText(Messages.format(JarPackagerMessages. [[#variable9b85a980]], new Integer(i)));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9b85aaa0]]
fSealJarLabel 
12[[#9b85aaa0]]
fSealPackagesLabel 
21[[#9b85a9c0]]
getPackagesToSeal 
22[[#9b85a9c0]]
getPackagesToUnseal 
31[[#9b85a940]]
fSealPackagesLabel 
32[[#9b85a940]]
fSealJarLabel 
41[[#9b85a8c0]]
JarManifestWizardPage_nothingSealed 
42[[#9b85a8c0]]
JarManifestWizardPage_jarSealed 
51[[#9b85a660]]
JarManifestWizardPage_onePackageSealed 
52[[#9b85a660]]
JarManifestWizardPage_jarSealedExceptOne 
61[[#9b85a980]]
JarManifestWizardPage_somePackagesSealed 
62[[#9b85a980]]
JarManifestWizardPage_jarSealedExceptSome