public short createShort(String literal)
{
return literal == null ? 0 : Short.parseShort(literal);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated NOT
*/
public String convertShort(short instanceValue)
{
return Short.toString(instanceValue);
public short createUnsignedByte(String literal)
{
return literal == null ? 0 : Short.parseShort(literal);
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated NOT
*/
public String convertUnsignedByte(short instanceValue)
{
return Short.toString(instanceValue);
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 short createShort(String literal)↵ | | 1 | public short createUnsignedByte(String literal)↵
|
2 | {↵ | | 2 | {↵
|
3 | return literal == null ? 0 : Short.parseShort(literal);↵ | | 3 | return literal == null ? 0 : Short.parseShort(literal);↵
|
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 String convertShort(short instanceValue)↵ | | 11 | public String convertUnsignedByte(short instanceValue)↵
|
12 | {↵ | | 12 | {↵
|
13 | return Short.toString(instanceValue); | | 13 | return Short.toString(instanceValue);
|
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 |