{"action":"created","comment":{"url":"https://api.github.com/repos/jsettlers/settlers-remake/pulls/comments/57974554","id":57974554,"diff_hunk":"@@ -88,7 +82,7 @@\n \tprivate ShortPoint2D pos;\n \tprivate IBuildingsGrid grid;\n \tprivate Player player;\n-\tprivate byte state = STATE_CREATED;\n+\tprivate EBuildingState state = EBuildingState.CREATED;","path":"jsettlers.logic/src/jsettlers/logic/buildings/Building.java","position":21,"original_position":21,"commit_id":"c34c5e4d10a61be5a58921baacff0ece22db014b","original_commit_id":"c34c5e4d10a61be5a58921baacff0ece22db014b","user":{"login":"michaelzangl","id":5981823,"avatar_url":"https://avatars.githubusercontent.com/u/5981823?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelzangl","html_url":"https://github.com/michaelzangl","followers_url":"https://api.github.com/users/michaelzangl/followers","following_url":"https://api.github.com/users/michaelzangl/following{/other_user}","gists_url":"https://api.github.com/users/michaelzangl/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelzangl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelzangl/subscriptions","organizations_url":"https://api.github.com/users/michaelzangl/orgs","repos_url":"https://api.github.com/users/michaelzangl/repos","events_url":"https://api.github.com/users/michaelzangl/events{/privacy}","received_events_url":"https://api.github.com/users/michaelzangl/received_events","type":"User","site_admin":false},"body":"We use those a lot for testing.\r\n\r\nSome of the savegames and replay files are in the repository, I have some more locally. This makes developing the UI faster - simply load the savegame and see if all images look the way they should. No need to play through a whole game.\r\n\r\nThis is why every update that breaks savegames also breaks local development and our automated tests. Therefore we avoid it if it is not necessary.","created_at":"2016-03-30T22:25:48Z","updated_at":"2016-03-30T22:25:48Z","html_url":"https://github.com/jsettlers/settlers-remake/pull/329#discussion_r57974554","pull_request_url":"https://api.github.com/repos/jsettlers/settlers-remake/pulls/329","_links":{"self":{"href":"https://api.github.com/repos/jsettlers/settlers-remake/pulls/comments/57974554"},"html":{"href":"https://github.com/jsettlers/settlers-remake/pull/329#discussion_r57974554"},"pull_request":{"href":"https://api.github.com/repos/jsettlers/settlers-remake/pulls/329"}}},"pull_request":{"url":"https://api.github.com/repos/jsettlers/settlers-remake/pulls/329","id":64688617,"html_url":"https://github.com/jsettlers/settlers-remake/pull/329","diff_url":"https://github.com/jsettlers/settlers-remake/pull/329.diff","patch_url":"https://github.com/jsettlers/settlers-remake/pull/329.patch","issue_url":"https://api.github.com/repos/jsettlers/settlers-remake/issues/329","number":329,"state":"open","locked":false,"title":"clean up (Rename/Remove) of Building","user":{"login":"homoroselaps","id":7871498,"avatar_url":"https://avatars.githubusercontent.com/u/7871498?v=3","gravatar_id":"","url":"https://api.github.com/users/homoroselaps","html_url":"https://github.com/homoroselaps","followers_url":"https://api.github.com/users/homoroselaps/followers","following_url":"https://api.github.com/users/homoroselaps/following{/other_user}","gists_url":"https://api.github.com/users/homoroselaps/gists{/gist_id}","starred_url":"https://api.github.com/users/homoroselaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homoroselaps/subscriptions","organizations_url":"https://api.github.com/users/homoroselaps/orgs","repos_url":"https://api.github.com/users/homoroselaps/repos","events_url":"https://api.github.com/users/homoroselaps/events{/privacy}","received_events_url":"https://api.github.com/users/homoroselaps/received_events","type":"User","site_admin":false},"body":"and IConstructableBuilding/IWorkerRequestBuilding","created_at":"2016-03-30T20:08:47Z","updated_at":"2016-03-30T22:25:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e4648cb9d664681245c17ab105e490a93ec45f7b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jsettlers/settlers-remake/pulls/329/commits","review_comments_url":"https://api.github.com/repos/jsettlers/settlers-remake/pulls/329/comments","review_comment_url":"https://api.github.com/repos/jsettlers/settlers-remake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jsettlers/settlers-remake/issues/329/comments","statuses_url":"https://api.github.com/repos/jsettlers/settlers-remake/statuses/c34c5e4d10a61be5a58921baacff0ece22db014b","head":{"label":"homoroselaps:Building_Refactoring","ref":"Building_Refactoring","sha":"c34c5e4d10a61be5a58921baacff0ece22db014b","user":{"login":"homoroselaps","id":7871498,"avatar_url":"https://avatars.githubusercontent.com/u/7871498?v=3","gravatar_id":"","url":"https://api.github.com/users/homoroselaps","html_url":"https://github.com/homoroselaps","followers_url":"https://api.github.com/users/homoroselaps/followers","following_url":"https://api.github.com/users/homoroselaps/following{/other_user}","gists_url":"https://api.github.com/users/homoroselaps/gists{/gist_id}","starred_url":"https://api.github.com/users/homoroselaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homoroselaps/subscriptions","organizations_url":"https://api.github.com/users/homoroselaps/orgs","repos_url":"https://api.github.com/users/homoroselaps/repos","events_url":"https://api.github.com/users/homoroselaps/events{/privacy}","received_events_url":"https://api.github.com/users/homoroselaps/received_events","type":"User","site_admin":false},"repo":{"id":54498336,"name":"settlers-remake","full_name":"homoroselaps/settlers-remake","owner":{"login":"homoroselaps","id":7871498,"avatar_url":"https://avatars.githubusercontent.com/u/7871498?v=3","gravatar_id":"","url":"https://api.github.com/users/homoroselaps","html_url":"https://github.com/homoroselaps","followers_url":"https://api.github.com/users/homoroselaps/followers","following_url":"https://api.github.com/users/homoroselaps/following{/other_user}","gists_url":"https://api.github.com/users/homoroselaps/gists{/gist_id}","starred_url":"https://api.github.com/users/homoroselaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/homoroselaps/subscriptions","organizations_url":"https://api.github.com/users/homoroselaps/orgs","repos_url":"https://api.github.com/users/homoroselaps/repos","events_url":"https://api.github.com/users/homoroselaps/events{/privacy}","received_events_url":"https://api.github.com/users/homoroselaps/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/homoroselaps/settlers-remake","description":"A Remake of \"The Settlers III\" for Windows, Linux, Mac and Android","fork":true,"url":"https://api.github.com/repos/homoroselaps/settlers-remake","forks_url":"https://api.github.com/repos/homoroselaps/settlers-remake/forks","keys_url":"https://api.github.com/repos/homoroselaps/settlers-remake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/homoroselaps/settlers-remake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/homoroselaps/settlers-remake/teams","hooks_url":"https://api.github.com/repos/homoroselaps/settlers-remake/hooks","issue_events_url":"https://api.github.com/repos/homoroselaps/settlers-remake/issues/events{/number}","events_url":"https://api.github.com/repos/homoroselaps/settlers-remake/events","assignees_url":"https://api.github.com/repos/homoroselaps/settlers-remake/assignees{/user}","branches_url":"https://api.github.com/repos/homoroselaps/settlers-remake/branches{/branch}","tags_url":"https://api.github.com/repos/homoroselaps/settlers-remake/tags","blobs_url":"https://api.github.com/repos/homoroselaps/settlers-remake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/homoroselaps/settlers-remake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/homoroselaps/settlers-remake/git/refs{/sha}","trees_url":"https://api.github.com/repos/homoroselaps/settlers-remake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/homoroselaps/settlers-remake/statuses/{sha}","languages_url":"https://api.github.com/repos/homoroselaps/settlers-remake/languages","stargazers_url":"https://api.github.com/repos/homoroselaps/settlers-remake/stargazers","contributors_url":"https://api.github.com/repos/homoroselaps/settlers-remake/contributors","subscribers_url":"https://api.github.com/repos/homoroselaps/settlers-remake/subscribers","subscription_url":"https://api.github.com/repos/homoroselaps/settlers-remake/subscription","commits_url":"https://api.github.com/repos/homoroselaps/settlers-remake/commits{/sha}","git_commits_url":"https://api.github.com/repos/homoroselaps/settlers-remake/git/commits{/sha}","comments_url":"https://api.github.com/repos/homoroselaps/settlers-remake/comments{/number}","issue_comment_url":"https://api.github.com/repos/homoroselaps/settlers-remake/issues/comments{/number}","contents_url":"https://api.github.com/repos/homoroselaps/settlers-remake/contents/{+path}","compare_url":"https://api.github.com/repos/homoroselaps/settlers-remake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/homoroselaps/settlers-remake/merges","archive_url":"https://api.github.com/repos/homoroselaps/settlers-remake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/homoroselaps/settlers-remake/downloads","issues_url":"https://api.github.com/repos/homoroselaps/settlers-remake/issues{/number}","pulls_url":"https://api.github.com/repos/homoroselaps/settlers-remake/pulls{/number}","milestones_url":"https://api.github.com/repos/homoroselaps/settlers-remake/milestones{/number}","notifications_url":"https://api.github.com/repos/homoroselaps/settlers-remake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/homoroselaps/settlers-remake/labels{/name}","releases_url":"https://api.github.com/repos/homoroselaps/settlers-remake/releases{/id}","deployments_url":"https://api.github.com/repos/homoroselaps/settlers-remake/deployments","created_at":"2016-03-22T18:14:43Z","updated_at":"2016-03-22T18:14:51Z","pushed_at":"2016-03-30T21:58:55Z","git_url":"git://github.com/homoroselaps/settlers-remake.git","ssh_url":"git@github.com:homoroselaps/settlers-remake.git","clone_url":"https://github.com/homoroselaps/settlers-remake.git","svn_url":"https://github.com/homoroselaps/settlers-remake","homepage":"http://www.settlers-android-clone.com","size":296612,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jsettlers:master","ref":"master","sha":"bcd5c69f36ea9db0951f585e364ca32125930628","user":{"login":"jsettlers","id":10380489,"avatar_url":"https://avatars.githubusercontent.com/u/10380489?v=3","gravatar_id":"","url":"https://api.github.com/users/jsettlers","html_url":"https://github.com/jsettlers","followers_url":"https://api.github.com/users/jsettlers/followers","following_url":"https://api.github.com/users/jsettlers/following{/other_user}","gists_url":"https://api.github.com/users/jsettlers/gists{/gist_id}","starred_url":"https://api.github.com/users/jsettlers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsettlers/subscriptions","organizations_url":"https://api.github.com/users/jsettlers/orgs","repos_url":"https://api.github.com/users/jsettlers/repos","events_url":"https://api.github.com/users/jsettlers/events{/privacy}","received_events_url":"https://api.github.com/users/jsettlers/received_events","type":"Organization","site_admin":false},"repo":{"id":25301488,"name":"settlers-remake","full_name":"jsettlers/settlers-remake","owner":{"login":"jsettlers","id":10380489,"avatar_url":"https://avatars.githubusercontent.com/u/10380489?v=3","gravatar_id":"","url":"https://api.github.com/users/jsettlers","html_url":"https://github.com/jsettlers","followers_url":"https://api.github.com/users/jsettlers/followers","following_url":"https://api.github.com/users/jsettlers/following{/other_user}","gists_url":"https://api.github.com/users/jsettlers/gists{/gist_id}","starred_url":"https://api.github.com/users/jsettlers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsettlers/subscriptions","organizations_url":"https://api.github.com/users/jsettlers/orgs","repos_url":"https://api.github.com/users/jsettlers/repos","events_url":"https://api.github.com/users/jsettlers/events{/privacy}","received_events_url":"https://api.github.com/users/jsettlers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jsettlers/settlers-remake","description":"A Remake of \"The Settlers III\" for Windows, Linux, Mac and Android","fork":false,"url":"https://api.github.com/repos/jsettlers/settlers-remake","forks_url":"https://api.github.com/repos/jsettlers/settlers-remake/forks","keys_url":"https://api.github.com/repos/jsettlers/settlers-remake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jsettlers/settlers-remake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jsettlers/settlers-remake/teams","hooks_url":"https://api.github.com/repos/jsettlers/settlers-remake/hooks","issue_events_url":"https://api.github.com/repos/jsettlers/settlers-remake/issues/events{/number}","events_url":"https://api.github.com/repos/jsettlers/settlers-remake/events","assignees_url":"https://api.github.com/repos/jsettlers/settlers-remake/assignees{/user}","branches_url":"https://api.github.com/repos/jsettlers/settlers-remake/branches{/branch}","tags_url":"https://api.github.com/repos/jsettlers/settlers-remake/tags","blobs_url":"https://api.github.com/repos/jsettlers/settlers-remake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jsettlers/settlers-remake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jsettlers/settlers-remake/git/refs{/sha}","trees_url":"https://api.github.com/repos/jsettlers/settlers-remake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jsettlers/settlers-remake/statuses/{sha}","languages_url":"https://api.github.com/repos/jsettlers/settlers-remake/languages","stargazers_url":"https://api.github.com/repos/jsettlers/settlers-remake/stargazers","contributors_url":"https://api.github.com/repos/jsettlers/settlers-remake/contributors","subscribers_url":"https://api.github.com/repos/jsettlers/settlers-remake/subscribers","subscription_url":"https://api.github.com/repos/jsettlers/settlers-remake/subscription","commits_url":"https://api.github.com/repos/jsettlers/settlers-remake/commits{/sha}","git_commits_url":"https://api.github.com/repos/jsettlers/settlers-remake/git/commits{/sha}","comments_url":"https://api.github.com/repos/jsettlers/settlers-remake/comments{/number}","issue_comment_url":"https://api.github.com/repos/jsettlers/settlers-remake/issues/comments{/number}","contents_url":"https://api.github.com/repos/jsettlers/settlers-remake/contents/{+path}","compare_url":"https://api.github.com/repos/jsettlers/settlers-remake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jsettlers/settlers-remake/merges","archive_url":"https://api.github.com/repos/jsettlers/settlers-remake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jsettlers/settlers-remake/downloads","issues_url":"https://api.github.com/repos/jsettlers/settlers-remake/issues{/number}","pulls_url":"https://api.github.com/repos/jsettlers/settlers-remake/pulls{/number}","milestones_url":"https://api.github.com/repos/jsettlers/settlers-remake/milestones{/number}","notifications_url":"https://api.github.com/repos/jsettlers/settlers-remake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jsettlers/settlers-remake/labels{/name}","releases_url":"https://api.github.com/repos/jsettlers/settlers-remake/releases{/id}","deployments_url":"https://api.github.com/repos/jsettlers/settlers-remake/deployments","created_at":"2014-10-16T12:41:40Z","updated_at":"2016-03-24T16:29:21Z","pushed_at":"2016-03-30T21:58:56Z","git_url":"git://github.com/jsettlers/settlers-remake.git","ssh_url":"git@github.com:jsettlers/settlers-remake.git","clone_url":"https://github.com/jsettlers/settlers-remake.git","svn_url":"https://github.com/jsettlers/settlers-remake","homepage":"http://www.settlers-android-clone.com","size":298011,"stargazers_count":86,"watchers_count":86,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":82,"forks":38,"open_issues":82,"watchers":86,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jsettlers/settlers-remake/pulls/329"},"html":{"href":"https://github.com/jsettlers/settlers-remake/pull/329"},"issue":{"href":"https://api.github.com/repos/jsettlers/settlers-remake/issues/329"},"comments":{"href":"https://api.github.com/repos/jsettlers/settlers-remake/issues/329/comments"},"review_comments":{"href":"https://api.github.com/repos/jsettlers/settlers-remake/pulls/329/comments"},"review_comment":{"href":"https://api.github.com/repos/jsettlers/settlers-remake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jsettlers/settlers-remake/pulls/329/commits"},"statuses":{"href":"https://api.github.com/repos/jsettlers/settlers-remake/statuses/c34c5e4d10a61be5a58921baacff0ece22db014b"}}}}