try
{
super.close();
}
finally
{
if (response != null)
{
response.put(URIConverter.RESPONSE_TIME_STAMP_PROPERTY, file.lastModified());
}
}
try
{
super.close();
}
finally
{
response.put(URIConverter.RESPONSE_TIME_STAMP_PROPERTY, urlConnection.getLastModified());
}
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/resource/impl/FileURIHandlerImpl.java
|
|
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/resource/impl/URIHandlerImpl.java
|
Method name: void close()
|
|
Method name: void close()
|
Number of AST nodes: 2
|
|
Number of AST nodes: 2
|
|
1 | try↵ | | 1 | try↵
|
2 | {↵ | | 2 | ↵
|
| | | 3 | {↵
|
3 | super.close();↵ | | 4 | super.close();↵
|
4 | }↵ | | 5 | ↵
|
5 | finally↵ | | 6 | }↵
|
6 | {↵ | | 7 | ↵
|
7 | if (response != null)↵ | | 8 | ↵
|
| | | 9 | finally↵
|
8 | {↵ | | 10 | {↵
|
9 | response.put(URIConverter.RESPONSE_TIME_STAMP_PROPERTY, file.lastModified());↵ | | 11 | response.put(URIConverter.RESPONSE_TIME_STAMP_PROPERTY, urlConnection.getLastModified());↵
|
10 | }↵ | | 12 | ↵
|
11 | } | | 13 | }
|
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 having the same super class |
Number of node comparisons | 1 |