public BigInteger createInteger(String literal) { return literal == null ? null : new BigInteger(collapseWhiteSpace(literal)); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public String convertInteger(BigInteger instanceValue) { return instanceValue == null ? null : instanceValue.toString();
public BigInteger createNonNegativeInteger(String literal) { return literal == null ? null : new BigInteger(collapseWhiteSpace(literal)); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public String convertNonNegativeInteger(BigInteger instanceValue) { return instanceValue == null ? null : instanceValue.toString();
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/impl/XMLTypeFactoryImpl.java File path: /emf-2.4.1/src/org/eclipse/emf/ecore/xml/type/impl/XMLTypeFactoryImpl.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public BigInteger createInteger(String literal)
1
public BigInteger createNonNegativeInteger(String literal)
2
  {
2
  {
3
    return literal == null ? null : new BigInteger(collapseWhiteSpace(literal));
3
    return literal == null ? null : new BigInteger(collapseWhiteSpace(literal));
4
  }
4
  }
5
  /**
5
  /**
6
   * <!-- begin-user-doc -->
6
   * <!-- begin-user-doc -->
7
   * <!-- end-user-doc -->
7
   * <!-- end-user-doc -->
8
   * @generated NOT
8
   * @generated NOT
9
   */
9
   */
10
  public String convertInteger(BigInteger instanceValue)
10
  public String convertNonNegativeInteger(BigInteger instanceValue)
11
  {
11
  {
12
    return instanceValue == null ? null : instanceValue.toString();
12
    return instanceValue == null ? null : instanceValue.toString();
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0