{"action":"created","comment":{"url":"https://api.github.com/repos/helpscout/helpscout-api-java/pulls/comments/43257321","id":43257321,"diff_hunk":"@@ -64,6 +77,33 @@ public void shouldReturnDetailedErrorMessageForBadRequest() {\n         }\n     }\n     \n+\t@Test","path":"src/test/java/net/helpscout/api/ApiClientTest.java","position":45,"original_position":45,"commit_id":"0ef9c4872af8fddd8b246cdab2e6203594b1a523","original_commit_id":"0ef9c4872af8fddd8b246cdab2e6203594b1a523","user":{"login":"jacobwallace","id":1995759,"avatar_url":"https://avatars.githubusercontent.com/u/1995759?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobwallace","html_url":"https://github.com/jacobwallace","followers_url":"https://api.github.com/users/jacobwallace/followers","following_url":"https://api.github.com/users/jacobwallace/following{/other_user}","gists_url":"https://api.github.com/users/jacobwallace/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobwallace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobwallace/subscriptions","organizations_url":"https://api.github.com/users/jacobwallace/orgs","repos_url":"https://api.github.com/users/jacobwallace/repos","events_url":"https://api.github.com/users/jacobwallace/events{/privacy}","received_events_url":"https://api.github.com/users/jacobwallace/received_events","type":"User","site_admin":false},"body":"Please use spaces instead of tabs.","created_at":"2015-10-28T13:54:03Z","updated_at":"2015-10-28T13:54:03Z","html_url":"https://github.com/helpscout/helpscout-api-java/pull/14#discussion_r43257321","pull_request_url":"https://api.github.com/repos/helpscout/helpscout-api-java/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/helpscout/helpscout-api-java/pulls/comments/43257321"},"html":{"href":"https://github.com/helpscout/helpscout-api-java/pull/14#discussion_r43257321"},"pull_request":{"href":"https://api.github.com/repos/helpscout/helpscout-api-java/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/helpscout/helpscout-api-java/pulls/14","id":49004984,"html_url":"https://github.com/helpscout/helpscout-api-java/pull/14","diff_url":"https://github.com/helpscout/helpscout-api-java/pull/14.diff","patch_url":"https://github.com/helpscout/helpscout-api-java/pull/14.patch","issue_url":"https://api.github.com/repos/helpscout/helpscout-api-java/issues/14","number":14,"state":"open","locked":false,"title":"Change Address to use Dates in place of Calendar","user":{"login":"scalabilitysolved","id":1309599,"avatar_url":"https://avatars.githubusercontent.com/u/1309599?v=3","gravatar_id":"","url":"https://api.github.com/users/scalabilitysolved","html_url":"https://github.com/scalabilitysolved","followers_url":"https://api.github.com/users/scalabilitysolved/followers","following_url":"https://api.github.com/users/scalabilitysolved/following{/other_user}","gists_url":"https://api.github.com/users/scalabilitysolved/gists{/gist_id}","starred_url":"https://api.github.com/users/scalabilitysolved/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scalabilitysolved/subscriptions","organizations_url":"https://api.github.com/users/scalabilitysolved/orgs","repos_url":"https://api.github.com/users/scalabilitysolved/repos","events_url":"https://api.github.com/users/scalabilitysolved/events{/privacy}","received_events_url":"https://api.github.com/users/scalabilitysolved/received_events","type":"User","site_admin":false},"body":"[Trello](https://trello.com/c/MSamiqEm/87-client-library-uses-calendar-instead-of-date-in-the-address-class-which-causes-json-exceptions)\r\n\r\n### Problem \r\n\r\nWhen requesting a customer model via `client.getCustomer(customerId);` the client library would blow up due to JSON de-serialization issues thus rendering the customer endpoints useless.\r\n\r\n### Solution\r\n\r\nThe exact problem was that the Address class was using `java.util.Calendar` when in fact it needed to be using `java.util.Date` for de-serialization to work correctly.\r\n\r\n### Impact\r\n\r\nAs far as I can see this has always been broken so no clients should be affected by this change except that the endpoint will now work! :)","created_at":"2015-10-28T13:26:53Z","updated_at":"2015-10-28T13:54:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2f5674026df11c8dabf5c49bbfc49971c7b9424","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/helpscout/helpscout-api-java/pulls/14/commits","review_comments_url":"https://api.github.com/repos/helpscout/helpscout-api-java/pulls/14/comments","review_comment_url":"https://api.github.com/repos/helpscout/helpscout-api-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/helpscout/helpscout-api-java/issues/14/comments","statuses_url":"https://api.github.com/repos/helpscout/helpscout-api-java/statuses/0ef9c4872af8fddd8b246cdab2e6203594b1a523","head":{"label":"helpscout:bug/address-dates","ref":"bug/address-dates","sha":"0ef9c4872af8fddd8b246cdab2e6203594b1a523","user":{"login":"helpscout","id":2071395,"avatar_url":"https://avatars.githubusercontent.com/u/2071395?v=3","gravatar_id":"","url":"https://api.github.com/users/helpscout","html_url":"https://github.com/helpscout","followers_url":"https://api.github.com/users/helpscout/followers","following_url":"https://api.github.com/users/helpscout/following{/other_user}","gists_url":"https://api.github.com/users/helpscout/gists{/gist_id}","starred_url":"https://api.github.com/users/helpscout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helpscout/subscriptions","organizations_url":"https://api.github.com/users/helpscout/orgs","repos_url":"https://api.github.com/users/helpscout/repos","events_url":"https://api.github.com/users/helpscout/events{/privacy}","received_events_url":"https://api.github.com/users/helpscout/received_events","type":"Organization","site_admin":false},"repo":{"id":5246574,"name":"helpscout-api-java","full_name":"helpscout/helpscout-api-java","owner":{"login":"helpscout","id":2071395,"avatar_url":"https://avatars.githubusercontent.com/u/2071395?v=3","gravatar_id":"","url":"https://api.github.com/users/helpscout","html_url":"https://github.com/helpscout","followers_url":"https://api.github.com/users/helpscout/followers","following_url":"https://api.github.com/users/helpscout/following{/other_user}","gists_url":"https://api.github.com/users/helpscout/gists{/gist_id}","starred_url":"https://api.github.com/users/helpscout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helpscout/subscriptions","organizations_url":"https://api.github.com/users/helpscout/orgs","repos_url":"https://api.github.com/users/helpscout/repos","events_url":"https://api.github.com/users/helpscout/events{/privacy}","received_events_url":"https://api.github.com/users/helpscout/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/helpscout/helpscout-api-java","description":"Java wrapper for the Help Scout API","fork":false,"url":"https://api.github.com/repos/helpscout/helpscout-api-java","forks_url":"https://api.github.com/repos/helpscout/helpscout-api-java/forks","keys_url":"https://api.github.com/repos/helpscout/helpscout-api-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/helpscout/helpscout-api-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/helpscout/helpscout-api-java/teams","hooks_url":"https://api.github.com/repos/helpscout/helpscout-api-java/hooks","issue_events_url":"https://api.github.com/repos/helpscout/helpscout-api-java/issues/events{/number}","events_url":"https://api.github.com/repos/helpscout/helpscout-api-java/events","assignees_url":"https://api.github.com/repos/helpscout/helpscout-api-java/assignees{/user}","branches_url":"https://api.github.com/repos/helpscout/helpscout-api-java/branches{/branch}","tags_url":"https://api.github.com/repos/helpscout/helpscout-api-java/tags","blobs_url":"https://api.github.com/repos/helpscout/helpscout-api-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/helpscout/helpscout-api-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/helpscout/helpscout-api-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/helpscout/helpscout-api-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/helpscout/helpscout-api-java/statuses/{sha}","languages_url":"https://api.github.com/repos/helpscout/helpscout-api-java/languages","stargazers_url":"https://api.github.com/repos/helpscout/helpscout-api-java/stargazers","contributors_url":"https://api.github.com/repos/helpscout/helpscout-api-java/contributors","subscribers_url":"https://api.github.com/repos/helpscout/helpscout-api-java/subscribers","subscription_url":"https://api.github.com/repos/helpscout/helpscout-api-java/subscription","commits_url":"https://api.github.com/repos/helpscout/helpscout-api-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/helpscout/helpscout-api-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/helpscout/helpscout-api-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/helpscout/helpscout-api-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/helpscout/helpscout-api-java/contents/{+path}","compare_url":"https://api.github.com/repos/helpscout/helpscout-api-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/helpscout/helpscout-api-java/merges","archive_url":"https://api.github.com/repos/helpscout/helpscout-api-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/helpscout/helpscout-api-java/downloads","issues_url":"https://api.github.com/repos/helpscout/helpscout-api-java/issues{/number}","pulls_url":"https://api.github.com/repos/helpscout/helpscout-api-java/pulls{/number}","milestones_url":"https://api.github.com/repos/helpscout/helpscout-api-java/milestones{/number}","notifications_url":"https://api.github.com/repos/helpscout/helpscout-api-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/helpscout/helpscout-api-java/labels{/name}","releases_url":"https://api.github.com/repos/helpscout/helpscout-api-java/releases{/id}","created_at":"2012-07-31T14:03:21Z","updated_at":"2015-05-03T03:22:33Z","pushed_at":"2015-10-28T13:26:53Z","git_url":"git://github.com/helpscout/helpscout-api-java.git","ssh_url":"git@github.com:helpscout/helpscout-api-java.git","clone_url":"https://github.com/helpscout/helpscout-api-java.git","svn_url":"https://github.com/helpscout/helpscout-api-java","homepage":null,"size":640,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":6,"default_branch":"master"}},"base":{"label":"helpscout:master","ref":"master","sha":"f7566e04cf2a83f5beb4ec704b0e28816235bc6b","user":{"login":"helpscout","id":2071395,"avatar_url":"https://avatars.githubusercontent.com/u/2071395?v=3","gravatar_id":"","url":"https://api.github.com/users/helpscout","html_url":"https://github.com/helpscout","followers_url":"https://api.github.com/users/helpscout/followers","following_url":"https://api.github.com/users/helpscout/following{/other_user}","gists_url":"https://api.github.com/users/helpscout/gists{/gist_id}","starred_url":"https://api.github.com/users/helpscout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helpscout/subscriptions","organizations_url":"https://api.github.com/users/helpscout/orgs","repos_url":"https://api.github.com/users/helpscout/repos","events_url":"https://api.github.com/users/helpscout/events{/privacy}","received_events_url":"https://api.github.com/users/helpscout/received_events","type":"Organization","site_admin":false},"repo":{"id":5246574,"name":"helpscout-api-java","full_name":"helpscout/helpscout-api-java","owner":{"login":"helpscout","id":2071395,"avatar_url":"https://avatars.githubusercontent.com/u/2071395?v=3","gravatar_id":"","url":"https://api.github.com/users/helpscout","html_url":"https://github.com/helpscout","followers_url":"https://api.github.com/users/helpscout/followers","following_url":"https://api.github.com/users/helpscout/following{/other_user}","gists_url":"https://api.github.com/users/helpscout/gists{/gist_id}","starred_url":"https://api.github.com/users/helpscout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helpscout/subscriptions","organizations_url":"https://api.github.com/users/helpscout/orgs","repos_url":"https://api.github.com/users/helpscout/repos","events_url":"https://api.github.com/users/helpscout/events{/privacy}","received_events_url":"https://api.github.com/users/helpscout/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/helpscout/helpscout-api-java","description":"Java wrapper for the Help Scout API","fork":false,"url":"https://api.github.com/repos/helpscout/helpscout-api-java","forks_url":"https://api.github.com/repos/helpscout/helpscout-api-java/forks","keys_url":"https://api.github.com/repos/helpscout/helpscout-api-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/helpscout/helpscout-api-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/helpscout/helpscout-api-java/teams","hooks_url":"https://api.github.com/repos/helpscout/helpscout-api-java/hooks","issue_events_url":"https://api.github.com/repos/helpscout/helpscout-api-java/issues/events{/number}","events_url":"https://api.github.com/repos/helpscout/helpscout-api-java/events","assignees_url":"https://api.github.com/repos/helpscout/helpscout-api-java/assignees{/user}","branches_url":"https://api.github.com/repos/helpscout/helpscout-api-java/branches{/branch}","tags_url":"https://api.github.com/repos/helpscout/helpscout-api-java/tags","blobs_url":"https://api.github.com/repos/helpscout/helpscout-api-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/helpscout/helpscout-api-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/helpscout/helpscout-api-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/helpscout/helpscout-api-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/helpscout/helpscout-api-java/statuses/{sha}","languages_url":"https://api.github.com/repos/helpscout/helpscout-api-java/languages","stargazers_url":"https://api.github.com/repos/helpscout/helpscout-api-java/stargazers","contributors_url":"https://api.github.com/repos/helpscout/helpscout-api-java/contributors","subscribers_url":"https://api.github.com/repos/helpscout/helpscout-api-java/subscribers","subscription_url":"https://api.github.com/repos/helpscout/helpscout-api-java/subscription","commits_url":"https://api.github.com/repos/helpscout/helpscout-api-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/helpscout/helpscout-api-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/helpscout/helpscout-api-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/helpscout/helpscout-api-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/helpscout/helpscout-api-java/contents/{+path}","compare_url":"https://api.github.com/repos/helpscout/helpscout-api-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/helpscout/helpscout-api-java/merges","archive_url":"https://api.github.com/repos/helpscout/helpscout-api-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/helpscout/helpscout-api-java/downloads","issues_url":"https://api.github.com/repos/helpscout/helpscout-api-java/issues{/number}","pulls_url":"https://api.github.com/repos/helpscout/helpscout-api-java/pulls{/number}","milestones_url":"https://api.github.com/repos/helpscout/helpscout-api-java/milestones{/number}","notifications_url":"https://api.github.com/repos/helpscout/helpscout-api-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/helpscout/helpscout-api-java/labels{/name}","releases_url":"https://api.github.com/repos/helpscout/helpscout-api-java/releases{/id}","created_at":"2012-07-31T14:03:21Z","updated_at":"2015-05-03T03:22:33Z","pushed_at":"2015-10-28T13:26:53Z","git_url":"git://github.com/helpscout/helpscout-api-java.git","ssh_url":"git@github.com:helpscout/helpscout-api-java.git","clone_url":"https://github.com/helpscout/helpscout-api-java.git","svn_url":"https://github.com/helpscout/helpscout-api-java","homepage":null,"size":640,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/helpscout/helpscout-api-java/pulls/14"},"html":{"href":"https://github.com/helpscout/helpscout-api-java/pull/14"},"issue":{"href":"https://api.github.com/repos/helpscout/helpscout-api-java/issues/14"},"comments":{"href":"https://api.github.com/repos/helpscout/helpscout-api-java/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/helpscout/helpscout-api-java/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/helpscout/helpscout-api-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/helpscout/helpscout-api-java/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/helpscout/helpscout-api-java/statuses/0ef9c4872af8fddd8b246cdab2e6203594b1a523"}}}}