if (jtextfieldServer.getText().trim().length() == 0) {
bufError.append(i18n.CREATEDB_ERROR_SERVER_MISSING + CR);
if (!focusSet) {
jtextfieldServer.requestFocusInWindow();
focusSet = true;
}
}
Clone fragments detected by clone detection tool
File path: /sql12/plugins/firebirdmanager/src/net/sourceforge/squirrel_sql/plugins/firebirdmanager/gui/FirebirdManagerCreateDatabaseFrame.java
|
|
File path: /sql12/plugins/firebirdmanager/src/net/sourceforge/squirrel_sql/plugins/firebirdmanager/gui/FirebirdManagerBackupRestoreFrame.java
|
Method name: boolean isInputOK()
|
|
Method name: boolean isRestoreInputOK()
|
Number of AST nodes: 5
|
|
Number of AST nodes: 0
|
|
1 | if (jtextfieldServer.getText().trim().length() == 0) {↵ | | | |
2 | bufError.append(i18n.CREATEDB_ERROR_SERVER_MISSING + CR);↵ | | | |
3 | if (!focusSet) {↵ | | | |
4 | jtextfieldServer.requestFocusInWindow();↵ | | | |
5 | focusSet = true;↵ | | | |
6 | }↵ | | | |
7 | } | | | |
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | Clones are in different classes having the same super class |
Number of node comparisons | 0 |