Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-8889

The XML Model does redundant ModelElementType querying when calling ModelUtil#getModelElement

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: 7.9.0
    • Fix Version/s: 7.9.0, 7.9.0-alpha3
    • Component/s: bpmn model api
    • Labels:
      None

      Description

      Since the ModelUtil#getModelElement method can be called by the ModelElementTypeImpl class, it is possible to avoid quering for the class by passing it to the ModelUtil#getModelElement .

      Additionally, this will avoid the issue of returning a different ModelElementType that has a duplicate type name (issue CAM-8888(https://app.camunda.com/jira/browse/CAM-8888))).

        Attachments

          Activity

            People

            Assignee:
            nikola.koevski Nikola Koevski
            Reporter:
            nikola.koevski Nikola Koevski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: