173-183-185

if (stringBuffer == null) { stringBuffer = new StringBuffer(); } stringBuffer.append(text, start, length);
complexTypeConverterItemProvider = new ComplexTypeConverterItemProvider(this); } return complexTypeConverterItemProvider;

Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/util/XMLTypeResourceImpl.java |  | File path: /emf-2.4.1/src/org/eclipse/emf/mapping/provider/MappingItemProviderAdapterFactory.java
Method name: `void characters(char[], int, int)` |  | Method name: `Adapter createComplexTypeConverterAdapter()`
Number of AST nodes: 3 |  | Number of AST nodes: 2

1

    if (stringBuffer == null)↵

2

          {↵

3

            stringBuffer = new StringBuffer();↵

1

    complexTypeConverterItemProvider = new ComplexTypeConverterItemProvider(this);↵

4

          }↵

2

        }↵

5

          stringBuffer.append(text, start, length);

3

        return complexTypeConverterItemProvider;

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 | 2