You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2019/11/06 07:23:35 UTC

[GitHub] [commons-collections] dota17 opened a new pull request #110: [COLLECTIONS-663] Update AbstractMultiValuedMap asMap()

dota17 opened a new pull request #110:  [COLLECTIONS-663] Update AbstractMultiValuedMap asMap()
URL: https://github.com/apache/commons-collections/pull/110
 
 
   [COLLECTIONS-663] https://issues.apache.org/jira/browse/COLLECTIONS-663
   Hi:
   I think the representation of Multimap is {1: A, 1: B, 2: C}. So when A and B are deleted, only {2: C} is left. And asMap() method  returns a map in the form of {1:[A, B], 2:[C]}. In this map, {1:[], 2:[C]} is left when A and B are deleted. So wrappedCollection(key) should not be used。 It willl show as {1: A, 1: B, 2: C} when wrappedCollection(key) is used, and the asMap() method does not make sense.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services