Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 3 | 0.951 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 907 | E:/TSE/Projects-CloneDR/sql12/plugins/firebirdmanager/src/net/sourceforge/squirrel_sql/plugins/firebirdmanager/gui/FirebirdManagerBackupRestoreFrame.java |
2 | 13 | 1033 | E:/TSE/Projects-CloneDR/sql12/plugins/firebirdmanager/src/net/sourceforge/squirrel_sql/plugins/firebirdmanager/gui/FirebirdManagerBackupRestoreFrame.java |
| |||||
if (jtextfieldBckDBFile.getText().trim().length() == 0) { bufError.append(i18n.ERROR_FILENAME_DATABASE_MISSING + CR); if ( !focusSet) { jtextfieldBckDBFile.requestFocusInWindow(); focusSet = true; } } else if (jtextfieldBckDBHost.getText().trim().equalsIgnoreCase("localhost")) { if ( !FirebirdManagerHelper.fileExists(jtextfieldBckDBFile.getText())) { bufError.append(i18n.ERROR_FILENAME_NOT_EXISTS + " " + jtextfieldBckDBFile.getText() + " " + CR); if ( !focusSet) { jtextfieldBckDBFile.requestFocusInWindow(); focusSet = true; } } } |
| |||||
if (jtextfieldResBackupFile.getText().trim().length() == 0) { bufError.append(i18n.ERROR_FILENAME_BACKUP_MISSING + CR); if ( !focusSet) { jtextfieldResBackupFile.requestFocusInWindow(); focusSet = true; } } else if (jtextfieldResDBHost.getText().trim().equalsIgnoreCase("localhost")) { if ( !FirebirdManagerHelper.fileExists(jtextfieldResBackupFile.getText())) { bufError.append(i18n.ERROR_FILENAME_NOT_EXISTS + " " + jtextfieldResBackupFile.getText() + " " + CR); if ( !focusSet) { jtextfieldResBackupFile.requestFocusInWindow(); focusSet = true; } } } |
| |||
if ( [[#variable1ce9acc0]].getText().trim().length() == 0) { bufError.append(i18n. [[#variable1ce9afa0]] + CR); if ( !focusSet) { [[#variable1ce9acc0]].requestFocusInWindow(); focusSet = true; } } else if ( [[#variable1ce9afe0]].getText().trim().equalsIgnoreCase("localhost")) { if ( !FirebirdManagerHelper.fileExists( [[#variable1ce9acc0]].getText())) { bufError.append(i18n.ERROR_FILENAME_NOT_EXISTS + " " + [[#variable1ce9acc0]].getText() + " " + CR); if ( !focusSet) { [[#variable1ce9acc0]].requestFocusInWindow(); focusSet = true; } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1ce9acc0]] | jtextfieldBckDBFile |
1 | 2 | [[#1ce9acc0]] | jtextfieldResBackupFile |
2 | 1 | [[#1ce9afa0]] | ERROR_FILENAME_DATABASE_MISSING |
2 | 2 | [[#1ce9afa0]] | ERROR_FILENAME_BACKUP_MISSING |
3 | 1 | [[#1ce9afe0]] | jtextfieldBckDBHost |
3 | 2 | [[#1ce9afe0]] | jtextfieldResDBHost |