{
Class<?> fileClass = null;
try
{
fileClass = IFile.class;
}
catch (Throwable exception)
{
// Ignore any exceptions and assume the class isn't available.
}
FILE_CLASS = fileClass;
{
Class<?> uriEditorInputClass = null;
try
{
uriEditorInputClass = IURIEditorInput.class;
}
catch (Throwable exception)
{
// The class is not available.
}
URI_EDITOR_INPUT_CLASS = uriEditorInputClass;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/edit/ui/util/EditUIUtil.java
|
|
File path: /emf-2.4.1/src/org/eclipse/emf/edit/ui/util/EditUIUtil.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | {↵ | | 1 | {↵
|
2 | Class<?> fileClass = null;↵ | | 2 | Class<?> uriEditorInputClass = null;↵
|
3 | try↵ | | 3 | try↵
|
4 | {↵ | | 4 | {↵
|
5 | fileClass = IFile.class;↵ | | 5 | uriEditorInputClass = IURIEditorInput.class;↵
|
6 | }↵ | | 6 | }↵
|
7 | catch (Throwable exception)↵ | | 7 | catch (Throwable exception)↵
|
8 | {↵ | | 8 | {↵
|
9 | // Ignore any exceptions and assume the class isn't available.↵ | | 9 | // The class is not available.↵
|
10 | }↵ | | 10 | }↵
|
11 | FILE_CLASS = fileClass;↵ | | 11 | URI_EDITOR_INPUT_CLASS = uriEditorInputClass;↵
|
12 | | | 12 |
|
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 | |
Number of node comparisons | 0 |