Philipp Schneider created COLLECTIONS-590:
---------------------------------------------
Summary: MapUtils.EMPTY_SORTED_MAP should be renamed -
UnmodifiableSortedMap
Key: COLLECTIONS-590
URL: https://issues.apache.org/jira/browse/COLLECTIONS-590
Project: Commons Collections
Issue Type: Bug
Reporter: Philipp Schneider
When using the constant MapUtils.EMPTY_SORTED_MAP I assume from the name, that
it will return an empty sorted map.
But the map is an UnmodifiableSortedMap.
The Javadoc says this, but still the naming is not really good.
I suggest the following new name: EMPTY_UNMODIFIABLE_SORTED_MAP
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)