Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.971 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 162 | E:/TSE/Projects-CloneDR/sql12/plugins/dataimport/src/net/sourceforge/squirrel_sql/plugins/dataimport/importer/excel/ExcelFileImporter.java |
2 | 7 | 188 | E:/TSE/Projects-CloneDR/sql12/plugins/dataimport/src/net/sourceforge/squirrel_sql/plugins/dataimport/importer/excel/ExcelFileImporter.java |
| |||||
/* * (non-Javadoc) * @see net.sourceforge.squirrel_sql.plugins.dataimport.importer.IFileImporter#getInt(int) */ public Integer getInt(int column) throws IOException, UnsupportedFormatException { checkPointer(); Cell cell = sheet.getCell(column, pointer); if (cell.getType() != CellType.NUMBER) { throw new UnsupportedFormatException(); } return (new Double(((NumberCell) cell).getValue())).intValue(); } |
| |||||
/* * (non-Javadoc) * @see net.sourceforge.squirrel_sql.plugins.dataimport.importer.IFileImporter#getLong(int) */ public Long getLong(int column) throws IOException, UnsupportedFormatException { checkPointer(); Cell cell = sheet.getCell(column, pointer); if (cell.getType() != CellType.NUMBER) { throw new UnsupportedFormatException(); } return (new Double(((NumberCell) cell).getValue())).longValue(); } |
| |||
/* * (non-Javadoc) * @see net.sourceforge.squirrel_sql.plugins.dataimport.importer.IFileImporter#getLong(int) */ /* * (non-Javadoc) * @see net.sourceforge.squirrel_sql.plugins.dataimport.importer.IFileImporter#getInt(int) */ public [[#variable1cc88060]] [[#variable1cc88000]](int column) throws IOException, UnsupportedFormatException { checkPointer(); Cell cell = sheet.getCell(column, pointer); if (cell.getType() != CellType.NUMBER) { throw new UnsupportedFormatException(); } return (new Double(((NumberCell) cell).getValue())). [[#variable1cc8bf80]](); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cc88060]] | Integer |
1 | 2 | [[#1cc88060]] | Long |
2 | 1 | [[#1cc88000]] | getInt |
2 | 2 | [[#1cc88000]] | getLong |
3 | 1 | [[#1cc8bf80]] | intValue |
3 | 2 | [[#1cc8bf80]] | longValue |