if (!prefs.isWriteScript()) {
return;
}
write(getBoundStatement(pstmt, bindVars));
if (!prefs.isWriteScript() || out == null) {
return;
}
out.println(stmt);
Clone fragments detected by clone detection tool
File path: /sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/util/ScriptWriter.java
|
|
File path: /sql12/plugins/dbcopy/src/net/sourceforge/squirrel_sql/plugins/dbcopy/util/ScriptWriter.java
|
Method name: void write(String, String[])
|
|
Method name: void write(String)
|
Number of AST nodes: 3
|
|
Number of AST nodes: 3
|
|
1 | if (!prefs.isWriteScript()) {↵ | | 1 | if (!prefs.isWriteScript() || out == null) {↵
|
2 | return;↵ | | 2 | return;↵
|
3 | } ↵ | | 3 | }↵
|
4 | write(getBoundStatement(pstmt, bindVars)); | | 4 | out.println(stmt);
|
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 declared in the same class |
Number of node comparisons | 2 |