{"action":"created","issue":{"url":"https://api.github.com/repos/google/auto/issues/203","labels_url":"https://api.github.com/repos/google/auto/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/google/auto/issues/203/comments","events_url":"https://api.github.com/repos/google/auto/issues/203/events","html_url":"https://github.com/google/auto/issues/203","id":60533229,"number":203,"title":"Immutable collections with Builders","user":{"login":"zack-shoylev","id":3600302,"avatar_url":"https://avatars.githubusercontent.com/u/3600302?v=3","gravatar_id":"","url":"https://api.github.com/users/zack-shoylev","html_url":"https://github.com/zack-shoylev","followers_url":"https://api.github.com/users/zack-shoylev/followers","following_url":"https://api.github.com/users/zack-shoylev/following{/other_user}","gists_url":"https://api.github.com/users/zack-shoylev/gists{/gist_id}","starred_url":"https://api.github.com/users/zack-shoylev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zack-shoylev/subscriptions","organizations_url":"https://api.github.com/users/zack-shoylev/orgs","repos_url":"https://api.github.com/users/zack-shoylev/repos","events_url":"https://api.github.com/users/zack-shoylev/events{/privacy}","received_events_url":"https://api.github.com/users/zack-shoylev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-10T17:02:57Z","updated_at":"2015-03-10T23:15:06Z","closed_at":null,"body":"Let's use a specific example:\r\nI want my value object to use List<>, and I want the Builder for it to also use List (so as not to force users to depend on ImmutableList directly, say).\r\nBut, of course, I want internally my value object to use ImmutableList and any mutable components to be copied to immutable ones when build().\r\nIs this reasonable, or should I just use ImmutableList throughout?\r\n\r\nExtra note: this works fine without Builders as you can just use ImmutableList.copyOf in the create() method."},"comment":{"url":"https://api.github.com/repos/google/auto/issues/comments/78169148","html_url":"https://github.com/google/auto/issues/203#issuecomment-78169148","issue_url":"https://api.github.com/repos/google/auto/issues/203","id":78169148,"user":{"login":"eamonnmcmanus","id":5246810,"avatar_url":"https://avatars.githubusercontent.com/u/5246810?v=3","gravatar_id":"","url":"https://api.github.com/users/eamonnmcmanus","html_url":"https://github.com/eamonnmcmanus","followers_url":"https://api.github.com/users/eamonnmcmanus/followers","following_url":"https://api.github.com/users/eamonnmcmanus/following{/other_user}","gists_url":"https://api.github.com/users/eamonnmcmanus/gists{/gist_id}","starred_url":"https://api.github.com/users/eamonnmcmanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eamonnmcmanus/subscriptions","organizations_url":"https://api.github.com/users/eamonnmcmanus/orgs","repos_url":"https://api.github.com/users/eamonnmcmanus/repos","events_url":"https://api.github.com/users/eamonnmcmanus/events{/privacy}","received_events_url":"https://api.github.com/users/eamonnmcmanus/received_events","type":"User","site_admin":false},"created_at":"2015-03-10T23:15:06Z","updated_at":"2015-03-10T23:15:06Z","body":"Yes, that also seems like a fine idea."}}