2151-9-16

XMLTypeResourceImpl.DataFrame pushFloatObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultFloatObject = floatObject == null ? new XMLTypeResourceImpl.DataFrame() : floatObject; floatObject = null; resultFloatObject.pushOnto(previous); resultFloatObject.handleAttributes(attributes); return resultFloatObject; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Float popFloatObject(XMLTypeResourceImpl.DataFrame floatObject) { Float resultFloatObjectValue = XMLTypeFactory.eINSTANCE.createFloatObject(floatObject.popValue()); this.floatObject = floatObject; return resultFloatObjectValue; }
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; }

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 pushFloatObject(XMLTypeResourceImpl.StackFrame previous, Attributes attributes)↵

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultFloatObject = floatObject == null ? new XMLTypeResourceImpl.DataFrame() : floatObject;↵

3

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

4

           floatObject = null;↵

4

           unsignedShortObject = null;↵

5

           resultFloatObject.pushOnto(previous);↵

5

           resultUnsignedShortObject.pushOnto(previous);↵

6

           resultFloatObject.handleAttributes(attributes);↵

6

           resultUnsignedShortObject.handleAttributes(attributes);↵

7

           return resultFloatObject;↵

7

           return resultUnsignedShortObject;↵

8

        }↵

8

        }↵

9

        /**↵

9

        /**↵

10

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

10

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

11

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

11

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

12

         * @generated↵

12

         * @generated↵

13

         */↵

13

         */↵

14

        public Float popFloatObject(XMLTypeResourceImpl.DataFrame floatObject)↵

14

        public Integer popUnsignedShortObject(XMLTypeResourceImpl.DataFrame unsignedShortObject)↵

15

        {↵

15

        {↵

16

          Float resultFloatObjectValue = XMLTypeFactory.eINSTANCE.createFloatObject(floatObject.popValue());↵

16

          Integer resultUnsignedShortObjectValue = XMLTypeFactory.eINSTANCE.create↵

17

          this.floatObject = floa↵

17

    UnsignedShortObject(unsignedShortObject.popValue());↵

18

    tObject;↵

18

          this.unsignedShortObject = unsignedShortObject;↵

19

          return resultFloatObjectValue;↵

19

          return resultUnsignedShortObjectValue;↵

20

        }

20

        }

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