CloneSet2988


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.976statement_sequence[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18139
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarWriter3.java
28185
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarWriter3.java
Clone Instance
1
Line Count
8
Source Line
139
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarWriter3.java

                        JarEntry newEntry = new JarEntry(path);
                        newEntry.setMethod(ZipEntry.STORED);
                        newEntry.setSize(0);
                        newEntry.setCrc(0);
                        newEntry.setTime(System.currentTimeMillis());
                        directories.add(newEntry);

                        lastSlash = path.lastIndexOf('/', lastSlash - 1);


Clone Instance
2
Line Count
8
Source Line
185
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarWriter3.java

                        JarEntry newEntry = new JarEntry(path);
                        newEntry.setMethod(ZipEntry.STORED);
                        newEntry.setSize(0);
                        newEntry.setCrc(0);
                        newEntry.setTime(timeStamp);
                        directories.add(newEntry);

                        lastSlash = path.lastIndexOf('/', lastSlash - 1);


Clone AbstractionParameter Count: 1Parameter Bindings

JarEntry newEntry = new JarEntry(path);
newEntry.setMethod(ZipEntry.STORED);
newEntry.setSize(0);
newEntry.setCrc(0);
newEntry.setTime( [[#variable780fc920]]);
directories.add(newEntry);
lastSlash = path.lastIndexOf('/', lastSlash - 1);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#780fc920]]
System.currentTimeMillis() 
12[[#780fc920]]
timeStamp