{"action":"created","issue":{"url":"https://api.github.com/repos/google/guava/issues/1782","repository_url":"https://api.github.com/repos/google/guava","labels_url":"https://api.github.com/repos/google/guava/issues/1782/labels{/name}","comments_url":"https://api.github.com/repos/google/guava/issues/1782/comments","events_url":"https://api.github.com/repos/google/guava/issues/1782/events","html_url":"https://github.com/google/guava/issues/1782","id":47426104,"number":1782,"title":"ImmutableMap should optionally allow null values.","user":{"login":"gissuebot","id":8091570,"avatar_url":"https://avatars.githubusercontent.com/u/8091570?v=3","gravatar_id":"","url":"https://api.github.com/users/gissuebot","html_url":"https://github.com/gissuebot","followers_url":"https://api.github.com/users/gissuebot/followers","following_url":"https://api.github.com/users/gissuebot/following{/other_user}","gists_url":"https://api.github.com/users/gissuebot/gists{/gist_id}","starred_url":"https://api.github.com/users/gissuebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gissuebot/subscriptions","organizations_url":"https://api.github.com/users/gissuebot/orgs","repos_url":"https://api.github.com/users/gissuebot/repos","events_url":"https://api.github.com/users/gissuebot/events{/privacy}","received_events_url":"https://api.github.com/users/gissuebot/received_events","type":"User","site_admin":false},"labels":[{"id":143514951,"url":"https://api.github.com/repos/google/guava/labels/status:%20won't%20fix","name":"status: won't fix","color":"777777","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2014-10-31T17:58:56Z","updated_at":"2016-12-27T00:48:04Z","closed_at":"2014-11-01T02:17:09Z","body":"_[Original issue](https://code.google.com/p/guava-libraries/issues/detail?id=1782) created by **rattigan** on 2014-06-14 at 09:26 PM_\n\n---\n\nIt would be nice to have an option to allow null values in ImmutableMaps. There are perfectly legitimate use cases for maps with null values, e.g. representing the properties and values of a bean, some of which may be null-valued. \n\nMost implementations of Map allow null values, and this restriction unnecessarily limits the places where ImmutableMap can be used to replace existing small mutable maps, and for no good reason that I can see. Ambiguity is not an issue, since there containsKey can resolve the question of whether a null value was inserted or not. In cases where map entries are iterated there is no ambiguity.\n"},"comment":{"url":"https://api.github.com/repos/google/guava/issues/comments/269252537","html_url":"https://github.com/google/guava/issues/1782#issuecomment-269252537","issue_url":"https://api.github.com/repos/google/guava/issues/1782","id":269252537,"user":{"login":"orbfish","id":7662198,"avatar_url":"https://avatars.githubusercontent.com/u/7662198?v=3","gravatar_id":"","url":"https://api.github.com/users/orbfish","html_url":"https://github.com/orbfish","followers_url":"https://api.github.com/users/orbfish/followers","following_url":"https://api.github.com/users/orbfish/following{/other_user}","gists_url":"https://api.github.com/users/orbfish/gists{/gist_id}","starred_url":"https://api.github.com/users/orbfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orbfish/subscriptions","organizations_url":"https://api.github.com/users/orbfish/orgs","repos_url":"https://api.github.com/users/orbfish/repos","events_url":"https://api.github.com/users/orbfish/events{/privacy}","received_events_url":"https://api.github.com/users/orbfish/received_events","type":"User","site_admin":false},"created_at":"2016-12-27T00:48:04Z","updated_at":"2016-12-27T00:48:04Z","body":"Unfortunately, I find that I don't have time to rewrite Jdbc for this project. ;)"}}
{"actor":{"display_login":"orbfish"}}