public String convertLong(long instanceValue) { return Long.toString(instanceValue); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public Long createLongObject(String literal) { return literal == null ? null : Long.valueOf(collapseWhiteSpace(literal)); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public String convertLongObject(Long instanceValue) { return instanceValue == null ? null : instanceValue.toString();
public String convertUnsignedInt(long instanceValue) { return Long.toString(instanceValue); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public Long createUnsignedIntObject(String literal) { return literal == null ? null : Long.valueOf(collapseWhiteSpace(literal)); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public String convertUnsignedIntObject(Long 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 String convertLong(long instanceValue)
1
public String convertUnsignedInt(long instanceValue)
2
  {
2
  {
3
    return Long.toString(instanceValue);
3
    return Long.toString(instanceValue);
4
  }
4
  }	
5
    
5
    
6
  /**
6
  /**
7
   * <!-- begin-user-doc -->
7
   * <!-- begin-user-doc -->
8
   * <!-- end-user-doc -->
8
   * <!-- end-user-doc -->
9
   * @generated NOT
9
   * @generated NOT
10
   */
10
   */
11
  public Long createLongObject(String literal)
11
  public Long createUnsignedIntObject(String literal)
12
  {
12
  {
13
    return literal == null ? null : Long.valueOf(collapseWhiteSpace(literal));
13
    return literal == null ? null : Long.valueOf(collapseWhiteSpace(literal));
14
  }
14
  }
15
  /**
15
  /**
16
   * <!-- begin-user-doc -->
16
   * <!-- begin-user-doc -->
17
   * <!-- end-user-doc -->
17
   * <!-- end-user-doc -->
18
   * @generated NOT
18
   * @generated NOT
19
   */
19
   */
20
  public String convertLongObject(Long instanceValue)
20
  public String convertUnsignedIntObject(Long instanceValue)
21
  {
21
  {
22
    return instanceValue == null ? null : instanceValue.toString();
22
    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