if (this._dboType == DatabaseObjectType.TABLE) {
if (supportsSchemasInTableDefinitions) {
return true;
}
}
for (int i = 0; i < editableColumns.length; i++) {
if (colIdx == editableColumns[i]) {
return true;
}
}
Clone fragments detected by clone detection tool
File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/sql/DatabaseObjectInfo.java
|
|
File path: /sql12/test/src/net/sourceforge/squirrel_sql/client/update/gui/AbstractTableModelTest.java
|
Method name: boolean shouldQualifyWithSchema(boolean, boolean, ISQLDatabaseMetaData)
|
|
Method name: boolean isEditableColumn(int)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 3
|
|
1 | if (this._dboType == DatabaseObjectType.TABLE) {↵ | | 1 | for (int i = 0; i < editableColumns.length; i++) {↵
|
2 | if (supportsSchemasInTableDefinitions) {↵ | | 2 | if (colIdx == editableColumns[i]) {↵
|
3 | return true;↵ | | 3 | return true;↵
|
4 | }↵ | | 4 | }↵
|
5 | } | | 5 | }
|
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 |
Number of node comparisons | 1 |