{"action":"created","issue":{"url":"https://api.github.com/repos/javaparser/javaparser/issues/106","labels_url":"https://api.github.com/repos/javaparser/javaparser/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/javaparser/javaparser/issues/106/comments","events_url":"https://api.github.com/repos/javaparser/javaparser/issues/106/events","html_url":"https://github.com/javaparser/javaparser/pull/106","id":58566909,"number":106,"title":"Avoid returning null lists","user":{"login":"ftomassetti","id":439078,"avatar_url":"https://avatars.githubusercontent.com/u/439078?v=3","gravatar_id":"","url":"https://api.github.com/users/ftomassetti","html_url":"https://github.com/ftomassetti","followers_url":"https://api.github.com/users/ftomassetti/followers","following_url":"https://api.github.com/users/ftomassetti/following{/other_user}","gists_url":"https://api.github.com/users/ftomassetti/gists{/gist_id}","starred_url":"https://api.github.com/users/ftomassetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftomassetti/subscriptions","organizations_url":"https://api.github.com/users/ftomassetti/orgs","repos_url":"https://api.github.com/users/ftomassetti/repos","events_url":"https://api.github.com/users/ftomassetti/events{/privacy}","received_events_url":"https://api.github.com/users/ftomassetti/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-02-23T10:18:47Z","updated_at":"2015-02-24T23:16:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/javaparser/javaparser/pulls/106","html_url":"https://github.com/javaparser/javaparser/pull/106","diff_url":"https://github.com/javaparser/javaparser/pull/106.diff","patch_url":"https://github.com/javaparser/javaparser/pull/106.patch"},"body":"* every list is now initialized as an empty list\r\n* for backward compatibility setters accept a null but convert it to an empty lists\r\n* a few bugs are found: the current code was checking for a list to be null but it did not consider the possibility it was empty\r\n\r\nWe have discussed about it on Gitter, I hope I did not forget any of the advices I received if I did please forgive me and remember me and I will update the pull requests."},"comment":{"url":"https://api.github.com/repos/javaparser/javaparser/issues/comments/75869896","html_url":"https://github.com/javaparser/javaparser/pull/106#issuecomment-75869896","issue_url":"https://api.github.com/repos/javaparser/javaparser/issues/106","id":75869896,"user":{"login":"ftomassetti","id":439078,"avatar_url":"https://avatars.githubusercontent.com/u/439078?v=3","gravatar_id":"","url":"https://api.github.com/users/ftomassetti","html_url":"https://github.com/ftomassetti","followers_url":"https://api.github.com/users/ftomassetti/followers","following_url":"https://api.github.com/users/ftomassetti/following{/other_user}","gists_url":"https://api.github.com/users/ftomassetti/gists{/gist_id}","starred_url":"https://api.github.com/users/ftomassetti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ftomassetti/subscriptions","organizations_url":"https://api.github.com/users/ftomassetti/orgs","repos_url":"https://api.github.com/users/ftomassetti/repos","events_url":"https://api.github.com/users/ftomassetti/events{/privacy}","received_events_url":"https://api.github.com/users/ftomassetti/received_events","type":"User","site_admin":false},"created_at":"2015-02-24T23:16:48Z","updated_at":"2015-02-24T23:16:48Z","body":"I would vote for the mutable lists, possibly lazy initialized in the getters"}}