CloneSet2976


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.969statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16452
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
26475
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
Clone Instance
1
Line Count
6
Source Line
452
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java

                        List resources = JarPackagerUtil.asResources(fJarPackage.getElements());
                        if (resources == null) {
                                setErrorMessage(JarPackagerMessages.JarManifestWizardPage_error_noResourceSelected);
                                return null;
                        }
                        IJavaSearchScope searchScope = JavaSearchScopeFactory.getInstance().createJavaSearchScope((IResource[]) resources.toArray(new IResource[resources.size()]), true);


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

                List resources = JarPackagerUtil.asResources(fJarPackage.getElements());
                if (resources == null) {
                        setErrorMessage(JarPackagerMessages.JarManifestWizardPage_error_noResourceSelected);
                        return;
                }
                IJavaSearchScope searchScope = JavaSearchScopeFactory.getInstance().createJavaSearchScope((IResource[]) resources.toArray(new IResource[resources.size()]), true);


Clone AbstractionParameter Count: 1Parameter Bindings

List resources = JarPackagerUtil.asResources(fJarPackage.getElements());
if (resources == null) {
  setErrorMessage(JarPackagerMessages.JarManifestWizardPage_error_noResourceSelected);
   [[#variable5bcf42a0]]
}
IJavaSearchScope searchScope = JavaSearchScopeFactory.getInstance().createJavaSearchScope((IResource[]) resources.toArray(new IResource[resources.size()]), true);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5bcf42a0]]
return null; 
12[[#5bcf42a0]]
return;