{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-statemachine/issues/271","repository_url":"https://api.github.com/repos/spring-projects/spring-statemachine","labels_url":"https://api.github.com/repos/spring-projects/spring-statemachine/issues/271/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-statemachine/issues/271/comments","events_url":"https://api.github.com/repos/spring-projects/spring-statemachine/issues/271/events","html_url":"https://github.com/spring-projects/spring-statemachine/issues/271","id":188748688,"number":271,"title":"Avoid returning null for collections in AbstractState","user":{"login":"otrosien","id":129439,"avatar_url":"https://avatars.githubusercontent.com/u/129439?v=3","gravatar_id":"","url":"https://api.github.com/users/otrosien","html_url":"https://github.com/otrosien","followers_url":"https://api.github.com/users/otrosien/followers","following_url":"https://api.github.com/users/otrosien/following{/other_user}","gists_url":"https://api.github.com/users/otrosien/gists{/gist_id}","starred_url":"https://api.github.com/users/otrosien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otrosien/subscriptions","organizations_url":"https://api.github.com/users/otrosien/orgs","repos_url":"https://api.github.com/users/otrosien/repos","events_url":"https://api.github.com/users/otrosien/events{/privacy}","received_events_url":"https://api.github.com/users/otrosien/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-11T12:20:17Z","updated_at":"2016-11-11T18:44:06Z","closed_at":null,"body":"As a client I would expect an empty collection instead of null for entryActions, exitActions, stateActions, regions, triggers etc. instead of having to check for null values."},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-statemachine/issues/comments/260026000","html_url":"https://github.com/spring-projects/spring-statemachine/issues/271#issuecomment-260026000","issue_url":"https://api.github.com/repos/spring-projects/spring-statemachine/issues/271","id":260026000,"user":{"login":"otrosien","id":129439,"avatar_url":"https://avatars.githubusercontent.com/u/129439?v=3","gravatar_id":"","url":"https://api.github.com/users/otrosien","html_url":"https://github.com/otrosien","followers_url":"https://api.github.com/users/otrosien/followers","following_url":"https://api.github.com/users/otrosien/following{/other_user}","gists_url":"https://api.github.com/users/otrosien/gists{/gist_id}","starred_url":"https://api.github.com/users/otrosien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otrosien/subscriptions","organizations_url":"https://api.github.com/users/otrosien/orgs","repos_url":"https://api.github.com/users/otrosien/repos","events_url":"https://api.github.com/users/otrosien/events{/privacy}","received_events_url":"https://api.github.com/users/otrosien/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T18:44:06Z","updated_at":"2016-11-11T18:44:06Z","body":"Well, I was actually just stumbling over stateMachine.getState().getExitActions() returning null. So in order to make things consistent, probably all methods returning collections that are part of the State interface should be aligned.\r\n"}}
{"actor":{"display_login":"otrosien"}}