2151-13-36

XMLTypeResourceImpl.DataFrame pushNonNegativeInteger(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNonNegativeInteger = nonNegativeInteger == null ? new XMLTypeResourceImpl.DataFrame() : nonNegativeInteger; nonNegativeInteger = null; resultNonNegativeInteger.pushOnto(previous); resultNonNegativeInteger.handleAttributes(attributes); return resultNonNegativeInteger; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public BigInteger popNonNegativeInteger(XMLTypeResourceImpl.DataFrame nonNegativeInteger) { BigInteger resultNonNegativeIntegerValue = XMLTypeFactory.eINSTANCE.createNonNegativeInteger(nonNegativeInteger.popValue()); this.nonNegativeInteger = nonNegativeInteger; return resultNonNegativeIntegerValue; }
XMLTypeResourceImpl.DataFrame pushNormalizedString(XMLTypeResourceImpl.StackFrame previous, Attributes attributes) { XMLTypeResourceImpl.DataFrame resultNormalizedString = normalizedString == null ? new XMLTypeResourceImpl.DataFrame() : normalizedString; normalizedString = null; resultNormalizedString.pushOnto(previous); resultNormalizedString.handleAttributes(attributes); return resultNormalizedString; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String popNormalizedString(XMLTypeResourceImpl.DataFrame normalizedString) { String resultNormalizedStringValue = XMLTypeFactory.eINSTANCE.createNormalizedString(normalizedString.popValue()); this.normalizedString = normalizedString; return resultNormalizedStringValue; }

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

1

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

2

        {↵

2

        {↵

3

           XMLTypeResourceImpl.DataFrame resultNonNegativeInteger = nonNegativeInteger == null ? new XMLTypeResourceImpl.DataFrame() : nonNegativeInteger;↵

3

           XMLTypeResourceImpl.DataFrame resultNormalizedString = normalizedString == null ? new XMLTypeResourceImpl.DataFrame() : no↵

4

           nonNegativeInteger↵

4

    rmalizedString;↵

5

     = null;↵

5

           normalizedString = null;↵

6

           resultNonNegativeInteger.pushOnto(previous);↵

6

           resultNormalizedString.pushOnto(previous);↵

7

           resultNonNegativeInteger.handleAttributes(attributes);↵

7

           resultNormalizedString.handleAttributes(attributes);↵

8

           return resultNonNegativeInteger;↵

8

           return resultNormalizedString;↵

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 popNonNegativeInteger(XMLTypeResourceImpl.DataFrame nonNegativeInteger)↵

15

        public String popNormalizedString(XMLTypeResourceImpl.DataFrame normalizedString)↵

16

        {↵

16

        {↵

17

          BigInteger resultNonNegativeIntegerValue = XMLTypeFactory.eINSTANCE.createNonNegativeInteger(nonNegativeInteger.popValue());↵

17

          String resultNormalizedStringValue = XMLTypeFactory.eINSTANCE.createNormalizedString(normalizedString.popValue());↵

18

          this.nonNegativeInteger = nonNegativeInteger;↵

18

          this.normalizedString = normalizedString;↵

19

          return resultNonNegativeIntegerValue;↵

19

          return resultNormalizedStringValue;↵

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