Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 3 | 2 | 0.975 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 504 | E:/TSE/Projects-CloneDR/sql12/plugins/smarttools/src/net/sourceforge/squirrel_sql/plugins/smarttools/gui/SmarttoolChangeValuesFrame.java |
2 | 13 | 518 | E:/TSE/Projects-CloneDR/sql12/plugins/smarttools/src/net/sourceforge/squirrel_sql/plugins/smarttools/gui/SmarttoolChangeValuesFrame.java |
3 | 13 | 532 | E:/TSE/Projects-CloneDR/sql12/plugins/smarttools/src/net/sourceforge/squirrel_sql/plugins/smarttools/gui/SmarttoolChangeValuesFrame.java |
| |||||
{ df = DateFormat.getDateInstance(); try { df.parse(tfNewValue.getText()); } catch (ParseException ex) { JOptionPane.showMessageDialog(session.getApplication().getMainFrame(), i18n.GLOBAL_ERROR_FORMAT_DATE); tfNewValue.requestFocusInWindow(); return false; } } |
| |||||
{ df = DateFormat.getDateTimeInstance(); try { df.parse(tfNewValue.getText()); } catch (ParseException ex) { JOptionPane.showMessageDialog(session.getApplication().getMainFrame(), i18n.GLOBAL_ERROR_FORMAT_DATETIME); tfNewValue.requestFocusInWindow(); return false; } } |
| |||||
{ df = DateFormat.getTimeInstance(); try { df.parse(tfNewValue.getText()); } catch (ParseException ex) { JOptionPane.showMessageDialog(session.getApplication().getMainFrame(), i18n.GLOBAL_ERROR_FORMAT_TIME); tfNewValue.requestFocusInWindow(); return false; } } |
| |||
{ df = DateFormat. [[#variable1cc04de0]](); try { df.parse(tfNewValue.getText()); } catch (ParseException ex) { JOptionPane.showMessageDialog(session.getApplication().getMainFrame(), i18n. [[#variable1cc04d80]]); tfNewValue.requestFocusInWindow(); return false; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cc04de0]] | getDateInstance |
1 | 2 | [[#1cc04de0]] | getDateTimeInstance |
1 | 3 | [[#1cc04de0]] | getTimeInstance |
2 | 1 | [[#1cc04d80]] | GLOBAL_ERROR_FORMAT_DATE |
2 | 2 | [[#1cc04d80]] | GLOBAL_ERROR_FORMAT_DATETIME |
2 | 3 | [[#1cc04d80]] | GLOBAL_ERROR_FORMAT_TIME |