if (null != _toolBar)
{
_toolBar.addSeparator();
}
if (closed) {
throw new IOException(
"This instance of the CsvReader class has already been closed.");
}
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/gui/session/SQLInternalFrame.java
|
|
File path: /sql12/plugins/dataimport/src/com/csvreader/CsvReader.java
|
Method name: void addSeparatorToToolbar()
|
|
Method name: void checkClosed()
|
Number of AST nodes: 2
|
|
Number of AST nodes: 2
|
|
1 | if (null != _toolBar)↵ | | 1 | if (↵
|
2 | {↵ | | |
|
3 | _toolBar.addSeparator();↵ | | |
|
4 | ↵ | | 2 | closed) {↵
|
| | | 3 | throw new IOException(↵
|
| | | 4 | "This instance of the CsvReader class has already been closed.");↵
|
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.1 |
Clones location | Clones are in different classes |
Number of node comparisons | 1 |