CloneSet726


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.971method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17162
E:/TSE/Projects-CloneDR/sql12/plugins/dataimport/src/net/sourceforge/squirrel_sql/plugins/dataimport/importer/excel/ExcelFileImporter.java
27188
E:/TSE/Projects-CloneDR/sql12/plugins/dataimport/src/net/sourceforge/squirrel_sql/plugins/dataimport/importer/excel/ExcelFileImporter.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
162
Source File
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();
}


First
Previous
Clone Instance
2
Line Count
7
Source Line
188
Source File
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#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();
}


Clone AbstractionParameter Count: 3Parameter Bindings

/*
         * (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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1cc88060]]
Integer 
12[[#1cc88060]]
Long 
21[[#1cc88000]]
getInt 
22[[#1cc88000]]
getLong 
31[[#1cc8bf80]]
intValue 
32[[#1cc8bf80]]
longValue