if (_jdbcDebugOutputStream != null)
{
_jdbcDebugOutputStream.close();
_jdbcDebugOutputStream = null;
}
if (_jdbcDebugOutputWriter != null)
{
_jdbcDebugOutputWriter.close();
_jdbcDebugOutputWriter = null;
}
Clone fragments detected by clone detection tool
File path: /sql12/app/src/net/sourceforge/squirrel_sql/client/Application.java
|
|
File path: /sql12/test/src/net/sourceforge/squirrel_sql/fw/util/FileTest.java
|
Method name: void closeOutputStreams()
|
|
Method name: void test_createTempFileLjava_lang_StringLjava_lang_String()
|
Number of AST nodes: 6
|
|
Number of AST nodes: 0
|
|
1 | if (_jdbcDebugOutputStream != null)↵ | | | |
2 | {↵ | | | |
3 | _jdbcDebugOutputStream.close();↵ | | | |
4 | _jdbcDebugOutputStream = null;↵ | | | |
5 | }↵ | | | |
|
6 | if (_jdbcDebugOutputWriter != null)↵ | | | |
7 | {↵ | | | |
8 | _jdbcDebugOutputWriter.close();↵ | | | |
9 | _jdbcDebugOutputWriter = null;↵ | | | |
10 | } | | | |
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 |