if(begin < p.beginsAt && 0 < in.substring(begin, p.beginsAt).trim().length())
{
ret.add(in.substring(begin, p.beginsAt).trim());
if(begin < p.beginsAt && 0 < in.substring(begin, p.beginsAt).trim().length())
{
ret.add(in.substring(begin, p.beginsAt).trim());
Clone fragments detected by clone detection tool
File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/codereformat/CodeReformatorKernel.java
|
|
File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/codereformat/CodeReformatorKernel.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | if(begin < p.beginsAt && 0 < in.substring(begin, p.beginsAt).trim().length())↵ | | 1 | if(begin < p.beginsAt && 0 < in.substring(begin, p.beginsAt).trim().length())↵
|
2 | {↵ | | 2 | {↵
|
3 | ret.add(in.substring(begin, p.beginsAt).trim());↵ | | 3 | ret.add(in.substring(begin, p.beginsAt).trim());↵
|
4 | | | 4 |
|
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 | |
Number of node comparisons | 0 |