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.976 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 188 | E:/TSE/Projects-CloneDR/sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/CopyProgressMonitor.java |
2 | 12 | 201 | E:/TSE/Projects-CloneDR/sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/CopyProgressMonitor.java |
| |||||
if (e.getType() == ErrorEvent.SETUP_AUTO_COMMIT_TYPE) { String exMsg = ""; if (e.getException() != null) { exMsg = e.getException().getMessage(); } String message = getMessage("CopyProgressMonitor.setupAutoCommitException", exMsg); String title = getMessage("CopyProgressMonitor.setupAutoCommitExceptionTitle"); int messageType = JOptionPane.ERROR_MESSAGE; showMessageDialog(message, title, messageType); } |
| |||||
if (e.getType() == ErrorEvent.RESTORE_AUTO_COMMIT_TYPE) { String exMsg = ""; if (e.getException() != null) { exMsg = e.getException().getMessage(); } String message = getMessage("CopyProgressMonitor.restoreAutoCommitException", exMsg); String title = getMessage("CopyProgressMonitor.restoreAutoCommitExceptionTitle"); int messageType = JOptionPane.ERROR_MESSAGE; showMessageDialog(message, title, messageType); } |
| |||
if (e.getType() == ErrorEvent. [[#variable1cc0c7e0]]) { String exMsg = ""; if (e.getException() != null) { exMsg = e.getException().getMessage(); } String message = getMessage( [[#variable1cc0c780]], exMsg); String title = getMessage( [[#variable1cc0c700]]); int messageType = JOptionPane.ERROR_MESSAGE; showMessageDialog(message, title, messageType); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1cc0c7e0]] | SETUP_AUTO_COMMIT_TYPE |
1 | 2 | [[#1cc0c7e0]] | RESTORE_AUTO_COMMIT_TYPE |
2 | 1 | [[#1cc0c780]] | "CopyProgressMonitor.setupAutoCommitException" |
2 | 2 | [[#1cc0c780]] | "CopyProgressMonitor.restoreAutoCommitException" |
3 | 1 | [[#1cc0c700]] | "CopyProgressMonitor.setupAutoCommitExceptionTitle" |
3 | 2 | [[#1cc0c700]] | "CopyProgressMonitor.restoreAutoCommitExceptionTitle" |