Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 1 | 0.987 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 257 | E:/TSE/Projects-CloneDR/sql12/plugins/exportconfig/src/net/sourceforge/squirrel_sql/plugins/exportconfig/ExportConfigPreferences.java |
2 | 12 | 277 | E:/TSE/Projects-CloneDR/sql12/plugins/exportconfig/src/net/sourceforge/squirrel_sql/plugins/exportconfig/gui/ExportPanelBuilder.java |
| |||||
private String getFileName(File file) { try { return file.getCanonicalPath(); } catch (IOException ex) { // i18n[exportconfig.errorResolvingFile=Error resolving file name] s_log.error(s_stringMgr.getString("exportconfig.errorResolvingFile"), ex); } return file.getAbsolutePath(); } |
| |||||
// private String getFileName(File dir, String name) // { // // return getFileName(new File(dir, name)); // } // private String getFileName(File file) { try { return file.getCanonicalPath(); } catch (IOException ex) { // i18n[exportconfig.errorReslovingFileName=Error resolving file name] s_log.error(s_stringMgr.getString("exportconfig.errorReslovingFileName"), ex); } return file.getAbsolutePath(); } |
| |||
// private String getFileName(File dir, String name) // { // // return getFileName(new File(dir, name)); // } // private String getFileName(File file) { try { return file.getCanonicalPath(); } catch (IOException ex) { // i18n[exportconfig.errorResolvingFile=Error resolving file name] // i18n[exportconfig.errorReslovingFileName=Error resolving file name] s_log.error(s_stringMgr.getString( [[#variable1cd86360]]), ex); } return file.getAbsolutePath(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cd86360]] | "exportconfig.errorResolvingFile" |
1 | 2 | [[#1cd86360]] | "exportconfig.errorReslovingFileName" |