[
https://issues.apache.org/jira/browse/IMPALA-11031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoltán Borók-Nagy reassigned IMPALA-11031:
------------------------------------------
Assignee: Zoltán Borók-Nagy
> 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
> Assignee: Zoltán Borók-Nagy
> Priority: Major
> Labels: ramp-up
>
> 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]