CloneSet3197


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.980statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15997
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
251016
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java
Clone Instance
1
Line Count
5
Source Line
997
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java

                        if (descriptionFile.isAccessible()) {
                                if (fJarPackage.allowOverwrite() || JarPackagerUtil.askForOverwritePermission(fParentShell, descriptionFile.getFullPath().toString()))
                                        descriptionFile.setContents(fileInput, true, true, null);
                        }
                        else    descriptionFile.create(fileInput, true, null);


Clone Instance
2
Line Count
5
Source Line
1016
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarFileExportOperation.java

                if (manifestFile.isAccessible()) {
                        if (fJarPackage.allowOverwrite() || JarPackagerUtil.askForOverwritePermission(fParentShell, manifestFile.getFullPath().toString()))
                                manifestFile.setContents(fileInput, true, true, null);
                }
                else    manifestFile.create(fileInput, true, null);


Clone AbstractionParameter Count: 1Parameter Bindings

if ( [[#variable5b8ab8a0]].isAccessible()) {
  if (fJarPackage.allowOverwrite() || JarPackagerUtil.askForOverwritePermission(fParentShell,  [[#variable5b8ab8a0]].getFullPath().toString()))
     [[#variable5b8ab8a0]].setContents(fileInput, true, true, null);
}
else
   [[#variable5b8ab8a0]].create(fileInput, true, null);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b8ab8a0]]
manifestFile 
12[[#5b8ab8a0]]
descriptionFile