Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 3 | 0.956 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 474 | E:/TSE/Projects-CloneDR/sql12/plugins/smarttools/src/net/sourceforge/squirrel_sql/plugins/smarttools/gui/SmarttoolChangeValuesFrame.java |
2 | 12 | 487 | E:/TSE/Projects-CloneDR/sql12/plugins/smarttools/src/net/sourceforge/squirrel_sql/plugins/smarttools/gui/SmarttoolChangeValuesFrame.java |
| |||||
{ try { Integer.parseInt(tfNewValue.getText()); } catch (NumberFormatException ex) { JOptionPane.showMessageDialog(session.getApplication().getMainFrame(), i18n.GLOBAL_ERROR_FORMAT_INTEGER); tfNewValue.requestFocusInWindow(); return false; } } |
| |||||
{ try { Double.parseDouble(tfNewValue.getText()); } catch (NumberFormatException ex) { JOptionPane.showMessageDialog(session.getApplication().getMainFrame(), i18n.GLOBAL_ERROR_FORMAT_NUMERIC); tfNewValue.requestFocusInWindow(); return false; } } |
| |||
{ try { [[#variable1c80b680]]. [[#variable1c80b600]](tfNewValue.getText()); } catch (NumberFormatException ex) { JOptionPane.showMessageDialog(session.getApplication().getMainFrame(), i18n. [[#variable1c80b560]]); tfNewValue.requestFocusInWindow(); return false; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1c80b680]] | Integer |
1 | 2 | [[#1c80b680]] | Double |
2 | 1 | [[#1c80b600]] | parseInt |
2 | 2 | [[#1c80b600]] | parseDouble |
3 | 1 | [[#1c80b560]] | GLOBAL_ERROR_FORMAT_INTEGER |
3 | 2 | [[#1c80b560]] | GLOBAL_ERROR_FORMAT_NUMERIC |