if (new String(jpasswordField1.getPassword()).length() > 31) {
bufError.append(i18n.ERROR_PASSWORD_MAXLENGTH + CR);
if (!focusSet) {
jpasswordField1.requestFocusInWindow();
focusSet = true;
}
}
Clone fragments detected by clone detection tool
File path: /sql12/plugins/firebirdmanager/src/net/sourceforge/squirrel_sql/plugins/firebirdmanager/gui/FirebirdManagerUserManagerFrame.java
|
|
File path: /sql12/plugins/firebirdmanager/src/net/sourceforge/squirrel_sql/plugins/firebirdmanager/gui/FirebirdManagerUserManagerFrame.java
|
Method name: boolean isInputOK()
|
|
Method name: boolean isInputOK()
|
Number of AST nodes: 0
|
|
Number of AST nodes: 5
|
|
| | | 1 | if (new String(jpasswordField1.getPassword()).length() > 31) {↵
|
| | | 2 | bufError.append(i18n.ERROR_PASSWORD_MAXLENGTH + CR);↵
|
| | | 3 | if (!focusSet) {↵
|
| | | 4 | jpasswordField1.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 the same method |
Number of node comparisons | 0 |