2151-16-38

XMLTypeResourceImpl.DataFrame pushUnsignedShortObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultUnsignedShortObject = unsignedShortObject == null ? new XMLTypeResourceImpl.DataFrame() : unsignedShortObject; unsignedShortObject = null; resultUnsignedShortObject.pushOnto(previous); resultUnsignedShortObject.handleAttributes(attributes); return resultUnsignedShortObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Integer popUnsignedShortObject(XMLTypeResourceImpl.DataFrame unsignedShortObject) { Integer resultUnsignedShortObjectValue = XMLTypeFactory.eINSTANCE.createUnsignedShortObject(unsignedShortObject.popValue()); this.unsignedShortObject = unsignedShortObject; return resultUnsignedShortObjectValue; }
XMLTypeResourceImpl.DataFrame pushDecimal(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultDecimal = decimal == null ? new XMLTypeResourceImpl.DataFrame() : decimal; decimal = null; resultDecimal.pushOnto(previous); resultDecimal.handleAttributes(attributes); return resultDecimal; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigDecimal popDecimal(XMLTypeResourceImpl.DataFrame decimal) { BigDecimal resultDecimalValue = XMLTypeFactory.eINSTANCE.createDecimal(decimal.popValue()); this.decimal = decimal; return resultDecimalValue; }

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/ecore/xml/type/util/XMLTypeResourceImpl.java
Method name: `` |  | Method name: ``
Number of AST nodes: 0 |  | Number of AST nodes: 0

1

    XMLTypeResourceImpl.DataFrame pushUnsignedShortObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

1

    XMLTypeResourceImpl.DataFrame pushDecimal(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultUnsignedShortObject = unsignedShortObject == null ? new XMLTypeResourceImpl.DataFrame() : unsignedShortObject;↵

3

           XMLTypeResourceImpl.DataFrame resultDecimal = decimal == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           unsignedShortObject↵

4

    decimal;↵

5

     = null;↵

5

           decimal = null;↵

6

           resultUnsignedShortObject.pushOnto(previous);↵

6

           resultDecimal.pushOnto(previous);↵

7

           resultUnsignedShortObject.handleAttributes(attributes);↵

7

           resultDecimal.handleAttributes(attributes);↵

8

           return resultUnsignedShortObject;↵

8

           return resultDecimal;↵

9

        }↵

9

        }↵

10

        /**↵

10

        /**↵

11

         * <!-- begin-user-doc -->↵

11

         * <!-- begin-user-doc -->↵

12

         * <!-- end-user-doc -->↵

12

         * <!-- end-user-doc -->↵

13

         * @generated↵

13

         * @generated↵

14

         */↵

14

         */↵

15

        public Integer popUnsignedShortObject(XMLTypeResourceImpl.DataFrame unsignedShortObject)↵

15

        public BigDecimal popDecimal(XMLTypeResourceImpl.DataFrame ↵

16

        {↵

17

          Integer resultUnsignedShortObjectValue = XMLTypeFactory.eINSTANCE.createUnsignedShortObject(unsignedShortObject.popValue());↵

18

          this.unsignedShortObject = unsignedShortObject↵

16

    decimal)↵

17

        {↵

18

          BigDecimal resultDecimalValue = XMLTypeFactory.eINSTANCE.createDecimal(decimal.popValue());↵

19

    ;↵

19

          this.decimal = decimal;↵

20

          return resultUnsignedShortObjectValue;↵

20

          return resultDecimalValue;↵

21

        }

21

        }

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