if (!StringUtilities.isEmpty(_variablePart)) {
result = new StringBuilder(_staticPart).append(" ").append(_variablePart).toString();
}
if (! "TABLE".equalsIgnoreCase(ti.getType())) {
// Frontbase describes it's tables as "BASE TABLE".
if (!DialectFactory.isFrontBase(dmd)) {
return null;
}
}
Clone fragments detected by clone detection tool
File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/dialects/OptionalSqlClause.java
|
|
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/tabs/table/IndexesTab.java
|
Method name: String toString()
|
|
Method name: IDataSet createDataSet()
|
Number of AST nodes: 2
|
|
Number of AST nodes: 3
|
|
1 | if (!StringUtilities.isEmpty(_variablePart)) {↵ | | 1 | if (!↵
|
2 | result = new StringBuilder(_staticPart).append(" ").append(_var↵ | | 2 | "TABLE".equalsIgnoreCase(ti.getType())) {↵
|
| | | 3 | // Frontbase describes it's tables as "BASE TABLE".↵
|
3 | iablePart).toString();↵ | | 4 | if (!Diale↵
|
4 | ↵ | | 5 | ctFactory.isFrontBase(dmd)) {↵
|
| | | 6 | return null; ↵
|
| | | 7 | }↵
|
5 | } | | 8 | }
|
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.2 |
Clones location | Clones are in different classes |
Number of node comparisons | 1 |