Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-11031

Listmap.getIndex() name is misleading

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 4.1.0
    • Frontend
    • ghx-label-11

    Description

      Listmap.getIndex(t) modifies the ListMap object when there is no mapping for 't'.

      Hence the name of it is very misleading as the reader wouldn't expect modifications from simple getters.

      Probably we should just rename it to getOrAddIndex().

      Attachments

        Activity

          People

            boroknagyz Zoltán Borók-Nagy
            boroknagyz Zoltán Borók-Nagy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: