try
{
out.close();
}
catch(IOException io)
{
}
try
{
stream.flush();
}
catch(IOException io)
{
io.printStackTrace(realErr);
}
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/gjt/sp/jedit/buffer/BufferIORequest.java
|
|
File path: /jEdit-4.2/src/org/gjt/sp/util/Log.java
|
Method name: void autosave()
|
|
Method name: void flushStream()
|
Number of AST nodes: 2
|
|
Number of AST nodes: 2
|
|
1 | try↵ | | 1 | try↵
|
2 | {↵ | | 2 | {↵
|
3 | out.close();↵ | | 3 | stream.flush();↵
|
4 | }↵ | | 4 | }↵
|
5 | catch(IOException io)↵ | | 5 | catch(IOException io)↵
|
6 | {↵ | | 6 | {↵
|
7 | ↵ | | 7 | io.printStackTrace(realErr);↵
|
8 | } | | 8 | }
|
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 |