Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 3 | 3 | 0.951 | switch_group |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 259 | E:/TSE/Projects-CloneDR/sql12/plugins/dataimport/src/net/sourceforge/squirrel_sql/plugins/dataimport/ImportDataIntoTableExecutor.java |
2 | 6 | 265 | E:/TSE/Projects-CloneDR/sql12/plugins/dataimport/src/net/sourceforge/squirrel_sql/plugins/dataimport/ImportDataIntoTableExecutor.java |
3 | 6 | 271 | E:/TSE/Projects-CloneDR/sql12/plugins/dataimport/src/net/sourceforge/squirrel_sql/plugins/dataimport/ImportDataIntoTableExecutor.java |
| |||||
case Types.DATE: d = DateUtils.parseSQLFormats(value); if (d == null) throw new UnsupportedFormatException(); stmt.setDate(index, new java.sql.Date(d.getTime())); break; |
| |||||
case Types.TIMESTAMP: d = DateUtils.parseSQLFormats(value); if (d == null) throw new UnsupportedFormatException(); stmt.setTimestamp(index, new java.sql.Timestamp(d.getTime())); break; |
| |||||
case Types.TIME: d = DateUtils.parseSQLFormats(value); if (d == null) throw new UnsupportedFormatException(); stmt.setTime(index, new java.sql.Time(d.getTime())); break; |
| |||
case Types. [[#variable1ccdaf20]]: d = DateUtils.parseSQLFormats(value); if (d == null) throw new UnsupportedFormatException(); stmt. [[#variable1ccdae80]](index, new java.sql. [[#variable1ccdae00]](d.getTime())); break; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1ccdaf20]] | DATE |
1 | 2 | [[#1ccdaf20]] | TIMESTAMP |
1 | 3 | [[#1ccdaf20]] | TIME |
2 | 1 | [[#1ccdae80]] | setDate |
2 | 2 | [[#1ccdae80]] | setTimestamp |
2 | 3 | [[#1ccdae80]] | setTime |
3 | 1 | [[#1ccdae00]] | Date |
3 | 2 | [[#1ccdae00]] | Timestamp |
3 | 3 | [[#1ccdae00]] | Time |