{"action":"closed","issue":{"url":"https://api.github.com/repos/aws/aws-sdk-java/issues/345","labels_url":"https://api.github.com/repos/aws/aws-sdk-java/issues/345/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-sdk-java/issues/345/comments","events_url":"https://api.github.com/repos/aws/aws-sdk-java/issues/345/events","html_url":"https://github.com/aws/aws-sdk-java/issues/345","id":54404413,"number":345,"title":"SimpleWorkflow getList of things returns null vs empty list","user":{"login":"soldiermoth","id":420028,"avatar_url":"https://avatars.githubusercontent.com/u/420028?v=3","gravatar_id":"","url":"https://api.github.com/users/soldiermoth","html_url":"https://github.com/soldiermoth","followers_url":"https://api.github.com/users/soldiermoth/followers","following_url":"https://api.github.com/users/soldiermoth/following{/other_user}","gists_url":"https://api.github.com/users/soldiermoth/gists{/gist_id}","starred_url":"https://api.github.com/users/soldiermoth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soldiermoth/subscriptions","organizations_url":"https://api.github.com/users/soldiermoth/orgs","repos_url":"https://api.github.com/users/soldiermoth/repos","events_url":"https://api.github.com/users/soldiermoth/events{/privacy}","received_events_url":"https://api.github.com/users/soldiermoth/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-15T02:14:23Z","updated_at":"2015-01-15T21:12:41Z","closed_at":"2015-01-15T21:12:41Z","body":"I was wondering why the convention was changed from\r\n```java\r\npublic java.util.List<HistoryEvent> getEvents() {\r\n    if (events == null) {\r\n         events = new com.amazonaws.internal.ListWithAutoConstructFlag<HistoryEvent>();\r\n          events.setAutoConstruct(true);\r\n    }\r\n    return events;\r\n}\r\n```\r\nto\r\n```java\r\npublic java.util.List<HistoryEvent> getEvents() {\r\n   return events;\r\n}\r\n```\r\n\r\nin 1.8.x to 1.9.x\r\nsamples taken from\r\nhttps://github.com/aws/aws-sdk-java/blob/1.8.11/aws-java-sdk/src/main/java/com/amazonaws/services/simpleworkflow/model/DecisionTask.java#L243-L256\r\nand \r\nhttps://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-simpleworkflow/src/main/java/com/amazonaws/services/simpleworkflow/model/DecisionTask.java#L246-L255\r\n\r\nI noticed this convention changed a number of places so I'm assuming it's an across the board thing."}}