CloneSet2121


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11220.989statement_sequence[8]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11144
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/AddExternalJarAction.java
211350
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/VMLibraryBlock.java
Clone Instance
1
Line Count
11
Source Line
44
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/AddExternalJarAction.java

                dialog.setFilterExtensions(new String[] {
                                                         "*.jar;*.zip"
                                                        } );              //$NON-NLS-1$
                dialog.setFilterPath(lastUsedPath);
                String res = dialog.open();
                if (res == null) {
                        return;
                }
                String[] fileNames = dialog.getFileNames();
                int nChosen = fileNames.length;
                IPath filterPath = new Path(dialog.getFilterPath());
                IRuntimeClasspathEntry[] elems = new IRuntimeClasspathEntry[nChosen];


Clone Instance
2
Line Count
11
Source Line
350
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/VMLibraryBlock.java

                dialog.setFilterExtensions(new String[] {
                                                         "*.jar;*.zip"
                                                        } );              //$NON-NLS-1$
                dialog.setFilterPath(lastUsedPath);
                String res = dialog.open();
                if (res == null) {
                        return;
                }
                String[] fileNames = dialog.getFileNames();
                int nChosen = fileNames.length;
                IPath filterPath = new Path(dialog.getFilterPath());
                LibraryLocation[] libs = new LibraryLocation[nChosen];


Clone AbstractionParameter Count: 2Parameter Bindings

dialog.setFilterExtensions(new String[] {
                                          "*.jar;*.zip"
                                        } ); //$NON-NLS-1$
dialog.setFilterPath(lastUsedPath);
String res = dialog.open();
if (res == null) {
  return;
}
String[] fileNames = dialog.getFileNames();
int nChosen = fileNames.length;
IPath filterPath = new Path(dialog.getFilterPath());
 [[#variable64086c80]][]  [[#variable55a7b140]]= new [[#variable64086c80]][nChosen];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#64086c80]]
IRuntimeClasspathEntry 
12[[#64086c80]]
LibraryLocation 
21[[#55a7b140]]
elems 
22[[#55a7b140]]
libs