Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-1129

Remember the hashcode in most common extension elements instances

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.4.2
    • Fix Version/s: 8.4.3, 9.0-rc-1
    • Component/s: Extension
    • Labels:
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Things like ExtensionId and ExtensionDependency are used in Map keys or hasset and often the same instances are reused for that which means that the hashcode is calculated over and over again. It would be better to remember it since those instances are immutable.

        Attachments

          Activity

            People

            Assignee:
            tmortagne Thomas Mortagne
            Reporter:
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: