if(buffer[offset +i] != statSep.charAt(i))
{
return false;
}
if (other._wrappedFile != null) { return false; }
Clone fragments detected by clone detection tool
File path: /sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/netbeans/SqlSyntaxHighlightTokenMatcher.java
|
|
File path: /sql12/fw/src/net/sourceforge/squirrel_sql/fw/util/FileWrapperImpl.java
|
Method name: boolean isStatementSeparator(char[], int, int)
|
|
Method name: boolean equals(Object)
|
Number of AST nodes: 2
|
|
Number of AST nodes: 2
|
|
1 | if(buffer[offset +i] != statSep.charAt(i))↵ | | 1 | if↵
|
2 | {↵ | | |
|
3 | return false;↵ | | 2 | (other._wrappedFile != null) { return false;↵
|
4 | } | | 3 | }
|
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 |