1897-3-6

Adapter createChangeDescriptionAdapter() { if (changeDescriptionItemProvider == null) { changeDescriptionItemProvider = new ChangeDescriptionItemProvider(this); } return changeDescriptionItemProvider; } /** * This keeps track of the one adapter used for all {@link java.util.Map.Entry} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected EObjectToChangesMapEntryItemProvider eObjectToChangesMapEntryItemProvider; /** * This creates an adapter for a {@link java.util.Map.Entry}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createEObjectToChangesMapEntryAdapter() { if (eObjectToChangesMapEntryItemProvider == null) { eObjectToChangesMapEntryItemProvider = new EObjectToChangesMapEntryItemProvider(this); } return eObjectToChangesMapEntryItemProvider; }
Adapter createXMLMapAdapter() { if (xmlMapItemProvider == null) { xmlMapItemProvider = new XMLMapItemProvider(this); } return xmlMapItemProvider; } /** * This keeps track of the one adapter used for all {@link java.util.Map.Entry} instances. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected ENamedElementToXMLInfoMapEntryItemProvider eNamedElementToXMLInfoMapEntryItemProvider; /** * This creates an adapter for a {@link java.util.Map.Entry}. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Adapter createENamedElementToXMLInfoMapEntryAdapter() { if (eNamedElementToXMLInfoMapEntryItemProvider == null) { eNamedElementToXMLInfoMapEntryItemProvider = new ENamedElementToXMLInfoMapEntryItemProvider(this); } return eNamedElementToXMLInfoMapEntryItemProvider; }

Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/change/provider/ChangeItemProviderAdapterFactory.java |  | File path: /emf-2.4.1/src/org/eclipse/emf/mapping/ecore2xml/provider/Ecore2XMLItemProviderAdapterFactory.java
Method name: `` |  | Method name: ``
Number of AST nodes: 0 |  | Number of AST nodes: 0

1

    Adapter createChangeDescriptionAdapter()↵

1

    Adapter createXMLMapAdapter()↵

2

      {↵

2

      {↵

3

        if (changeDescriptionItemProvider == null)↵

3

        if (xmlMapItemProvider == null)↵

4

        {↵

4

        {↵

5

          changeDescriptionItemProvider = new ChangeDescriptionItemProvider(this);↵

5

          xmlMapItemProvider = new XMLMapItemProvider(this);↵

6

        }↵

6

        }↵

7

        return changeDescriptionItemProvider;↵

7

        return xmlMapItemProvider;↵

8

      }↵

8

      }↵

9

      /**↵

9

      /**↵

10

       * This keeps track of the one adapter used for all {@link java.util.Map.Entry} instances.↵

10

       * This keeps track of the one adapter used for all {@link java.util.Map.Entry} instances.↵

11

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

11

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

12

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

12

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

13

       * @generated↵

13

       * @generated↵

14

       */↵

14

       */↵

15

      protected EObjectToChangesMapEntryItemProvider eObjectToChangesMapEntryItemProvider;↵

15

      protected ENamedElementToXMLInfoMapEntryItemProvider eNamedElementToXMLInfoMapEntryItemProvider;↵

16

      /**↵

16

      /**↵

17

       * This creates an adapter for a {@link java.util.Map.Entry}.↵

17

       * This creates an adapter for a {@link java.util.Map.Entry}.↵

18

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

18

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

19

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

19

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

20

       * @generated↵

20

       * @generated↵

21

       */↵

21

       */↵

22

      @Override↵

22

      @Override↵

23

      public Adapter createEObjectToChangesMapEntryAdapter()↵

23

      public Adapter createENamedElementToXMLInfoMapEntryAdapter()↵

24

      {↵

24

      {↵

25

        if (eObjectToChangesMapEntryItemProvider == null)↵

25

        if (eNamedElementToXMLInfoMapEntryItemProvider == null)↵

26

        {↵

26

        {↵

27

          eObjectToChangesMapEntryItemProvider = new EObjectToChangesMapEntryItemProvider(this);↵

27

          eNamedElementToXMLInfoMapEntryItemProvider = new ENamedElementToXMLInfoMapEntryItemProvider(this);↵

28

        }↵

28

        }↵

29

        return eObjectToChangesMapEntryItemProvider;↵

29

        return eNamedElementToXMLInfoMapEntryItemProvider;↵

30

      }

30

      }

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