2151-8-12

XMLTypeResourceImpl.DataFrame pushNegativeInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNegativeInteger = negativeInteger == null ? new XMLTypeResourceImpl.DataFrame() : negativeInteger; negativeInteger = null; resultNegativeInteger.pushOnto(previous); resultNegativeInteger.handleAttributes(attributes); return resultNegativeInteger; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigInteger popNegativeInteger(XMLTypeResourceImpl.DataFrame negativeInteger) { BigInteger resultNegativeIntegerValue = XMLTypeFactory.eINSTANCE.createNegativeInteger(negativeInteger.popValue()); this.negativeInteger = negativeInteger; return resultNegativeIntegerValue; }
XMLTypeResourceImpl.DataFrame pushDuration(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultDuration = duration == null ? new XMLTypeResourceImpl.DataFrame() : duration; duration = null; resultDuration.pushOnto(previous); resultDuration.handleAttributes(attributes); return resultDuration; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Duration popDuration(XMLTypeResourceImpl.DataFrame duration) { Duration resultDurationValue = XMLTypeFactory.eINSTANCE.createDuration(duration.popValue()); this.duration = duration; return resultDurationValue; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultNegativeInteger = negativeInteger == null ? new XMLTypeResourceImpl.DataFrame() : negativeInteger;↵

3

           XMLTypeResourceImpl.DataFrame resultDuration = duration == null ? new XMLTypeResourceImpl.DataFrame() : ↵

4

           negativeInteger↵

4

    duration;↵

5

     = null;↵

5

           duration = null;↵

6

           resultNegativeInteger.pushOnto(previous);↵

6

           resultDuration.pushOnto(previous);↵

7

           resultNegativeInteger.handleAttributes(attributes);↵

7

           resultDuration.handleAttributes(attributes);↵

8

           return resultNegativeInteger;↵

8

           return resultDuration;↵

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 BigInteger popNegativeInteger(XMLTypeResourceImpl.DataFrame negativeInteger)↵

15

        public Duration popDuration(XMLTypeResourceImpl.DataFrame duration)↵

16

        {↵

16

        {↵

17

          BigInteger resultNegativeIntegerValue = XMLTypeFactory.eINSTANCE.createNegativeInteger(negativeInteger.popValue());↵

17

          Duration resultDurationValue = XMLTypeFactory.eINSTANCE.create↵

18

          this.negativeInteger = negativeInteger↵

18

    Duration(duration.popValue());↵

19

    ;↵

19

          this.duration = duration;↵

20

          return resultNegativeIntegerValue;↵

20

          return resultDurationValue;↵

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