if (diagnostics != null)
{
diagnostics.add
(new BasicDiagnostic
(Diagnostic.ERROR,
DIAGNOSTIC_SOURCE,
WELL_FORMED_INSTANCE_TYPE_NAME,
getString(key, substitutions),
new Object [] { index }));
}
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/util/EcoreValidator.java
Method name: void close()
Method name: void report(DiagnosticChain, String, Object[], int, Map)
Number of AST nodes: 0
Number of AST nodes: 2
1 if (diagnostics != null) ↵
2 { ↵
3 diagnostics.add ↵
4 (new BasicDiagnostic ↵
5 (Diagnostic.ERROR, ↵
6 DIAGNOSTIC_SOURCE, ↵
7 WELL_FORMED_INSTANCE_TYPE_NAME, ↵
8 getString(key, substitutions), ↵
9 new Object [] { index })); ↵
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