if (s_instance == null)
{
throw new IllegalArgumentException("UIFactory has not been initialized");
}
return s_instance;
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/gui/builders/UIFactory.java
|
|
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/Application.java
|
Method name: UIFactory getInstance()
|
|
Method name: void loadSQLHistory()
|
Number of AST nodes: 3
|
|
Number of AST nodes: 0
|
|
1 | if (s_instance == null)↵ | | | |
2 | {↵ | | | |
3 | throw new IllegalArgumentException("UIFactory has not been initialized");↵ | | | |
4 | }↵ | | | |
|
5 | return s_instance; | | | |
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 in different classes |
Number of node comparisons | 0 |