Zoltán Borók-Nagy created IMPALA-11031:
------------------------------------------

             Summary: Listmap.getIndex() name is misleading
                 Key: IMPALA-11031
                 URL: https://issues.apache.org/jira/browse/IMPALA-11031
             Project: IMPALA
          Issue Type: Improvement
          Components: Frontend
            Reporter: Zoltán Borók-Nagy


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().



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to