Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 2 | 0.989 | statement_sequence[8] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 44 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/AddExternalJarAction.java |
2 | 11 | 350 | 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()); IRuntimeClasspathEntry[] elems = new IRuntimeClasspathEntry[nChosen]; |
| ||||
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]; |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#64086c80]] | IRuntimeClasspathEntry |
1 | 2 | [[#64086c80]] | LibraryLocation |
2 | 1 | [[#55a7b140]] | elems |
2 | 2 | [[#55a7b140]] | libs |