{"action":"created","comment":{"url":"https://api.github.com/repos/jorisoudejans/DooB/pulls/comments/41640383","id":41640383,"diff_hunk":"@@ -66,15 +75,14 @@ public DLogTypeTest(String input, Type type, String expected) {\n \t   */\n \t  @Test\n \t  public void statesTest() throws IOException {\n-\t\t  DLog.setFile(\"DLogTest.log\");\n \t\t  BufferedReader mReader = new BufferedReader(new InputStreamReader(new FileInputStream(\n \t\t\t\t  \"DLogTest.log\")));\n-\t\t  DLog.info(input, type);\n+\t\t  dLog.info(input, type);\n \t\t  String actual = null;\n \t\t  try {\n \t\t\t\t// Skip init line.\n \t\t\t\tmReader.readLine();\n-\t\t\t\tactual = mReader.readLine().split(\":\")[3];\n+\t\t\t\tactual = mReader.readLine().split(\":\")[MAGIC_NUMBER];","path":"src/test/java/doob/DLogTypeTest.java","position":58,"original_position":58,"commit_id":"cece3c3e9deaaf78882d09822c16f7bceb081586","original_commit_id":"cece3c3e9deaaf78882d09822c16f7bceb081586","user":{"login":"cbilstra","id":9860720,"avatar_url":"https://avatars.githubusercontent.com/u/9860720?v=3","gravatar_id":"","url":"https://api.github.com/users/cbilstra","html_url":"https://github.com/cbilstra","followers_url":"https://api.github.com/users/cbilstra/followers","following_url":"https://api.github.com/users/cbilstra/following{/other_user}","gists_url":"https://api.github.com/users/cbilstra/gists{/gist_id}","starred_url":"https://api.github.com/users/cbilstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbilstra/subscriptions","organizations_url":"https://api.github.com/users/cbilstra/orgs","repos_url":"https://api.github.com/users/cbilstra/repos","events_url":"https://api.github.com/users/cbilstra/events{/privacy}","received_events_url":"https://api.github.com/users/cbilstra/received_events","type":"User","site_admin":false},"body":"I suggest renaming this variable so it is more clear to me what it means.","created_at":"2015-10-09T15:07:15Z","updated_at":"2015-10-09T15:07:15Z","html_url":"https://github.com/jorisoudejans/DooB/pull/29#discussion_r41640383","pull_request_url":"https://api.github.com/repos/jorisoudejans/DooB/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/jorisoudejans/DooB/pulls/comments/41640383"},"html":{"href":"https://github.com/jorisoudejans/DooB/pull/29#discussion_r41640383"},"pull_request":{"href":"https://api.github.com/repos/jorisoudejans/DooB/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/jorisoudejans/DooB/pulls/29","id":47282594,"html_url":"https://github.com/jorisoudejans/DooB/pull/29","diff_url":"https://github.com/jorisoudejans/DooB/pull/29.diff","patch_url":"https://github.com/jorisoudejans/DooB/pull/29.patch","issue_url":"https://api.github.com/repos/jorisoudejans/DooB/issues/29","number":29,"state":"open","locked":false,"title":"- Migrated DLog to Singleton pattern.","user":{"login":"cbilstra","id":9860720,"avatar_url":"https://avatars.githubusercontent.com/u/9860720?v=3","gravatar_id":"","url":"https://api.github.com/users/cbilstra","html_url":"https://github.com/cbilstra","followers_url":"https://api.github.com/users/cbilstra/followers","following_url":"https://api.github.com/users/cbilstra/following{/other_user}","gists_url":"https://api.github.com/users/cbilstra/gists{/gist_id}","starred_url":"https://api.github.com/users/cbilstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbilstra/subscriptions","organizations_url":"https://api.github.com/users/cbilstra/orgs","repos_url":"https://api.github.com/users/cbilstra/repos","events_url":"https://api.github.com/users/cbilstra/events{/privacy}","received_events_url":"https://api.github.com/users/cbilstra/received_events","type":"User","site_admin":false},"body":"Please review. <organisation>","created_at":"2015-10-09T15:04:44Z","updated_at":"2015-10-09T15:07:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f2aaa0e43f5695398af29be99a69852c73fe1247","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jorisoudejans/DooB/pulls/29/commits","review_comments_url":"https://api.github.com/repos/jorisoudejans/DooB/pulls/29/comments","review_comment_url":"https://api.github.com/repos/jorisoudejans/DooB/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jorisoudejans/DooB/issues/29/comments","statuses_url":"https://api.github.com/repos/jorisoudejans/DooB/statuses/cece3c3e9deaaf78882d09822c16f7bceb081586","head":{"label":"jorisoudejans:singleton_pattern","ref":"singleton_pattern","sha":"cece3c3e9deaaf78882d09822c16f7bceb081586","user":{"login":"jorisoudejans","id":4869451,"avatar_url":"https://avatars.githubusercontent.com/u/4869451?v=3","gravatar_id":"","url":"https://api.github.com/users/jorisoudejans","html_url":"https://github.com/jorisoudejans","followers_url":"https://api.github.com/users/jorisoudejans/followers","following_url":"https://api.github.com/users/jorisoudejans/following{/other_user}","gists_url":"https://api.github.com/users/jorisoudejans/gists{/gist_id}","starred_url":"https://api.github.com/users/jorisoudejans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorisoudejans/subscriptions","organizations_url":"https://api.github.com/users/jorisoudejans/orgs","repos_url":"https://api.github.com/users/jorisoudejans/repos","events_url":"https://api.github.com/users/jorisoudejans/events{/privacy}","received_events_url":"https://api.github.com/users/jorisoudejans/received_events","type":"User","site_admin":false},"repo":{"id":41816075,"name":"DooB","full_name":"jorisoudejans/DooB","owner":{"login":"jorisoudejans","id":4869451,"avatar_url":"https://avatars.githubusercontent.com/u/4869451?v=3","gravatar_id":"","url":"https://api.github.com/users/jorisoudejans","html_url":"https://github.com/jorisoudejans","followers_url":"https://api.github.com/users/jorisoudejans/followers","following_url":"https://api.github.com/users/jorisoudejans/following{/other_user}","gists_url":"https://api.github.com/users/jorisoudejans/gists{/gist_id}","starred_url":"https://api.github.com/users/jorisoudejans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorisoudejans/subscriptions","organizations_url":"https://api.github.com/users/jorisoudejans/orgs","repos_url":"https://api.github.com/users/jorisoudejans/repos","events_url":"https://api.github.com/users/jorisoudejans/events{/privacy}","received_events_url":"https://api.github.com/users/jorisoudejans/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jorisoudejans/DooB","description":"Bouble Trouble game","fork":false,"url":"https://api.github.com/repos/jorisoudejans/DooB","forks_url":"https://api.github.com/repos/jorisoudejans/DooB/forks","keys_url":"https://api.github.com/repos/jorisoudejans/DooB/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jorisoudejans/DooB/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jorisoudejans/DooB/teams","hooks_url":"https://api.github.com/repos/jorisoudejans/DooB/hooks","issue_events_url":"https://api.github.com/repos/jorisoudejans/DooB/issues/events{/number}","events_url":"https://api.github.com/repos/jorisoudejans/DooB/events","assignees_url":"https://api.github.com/repos/jorisoudejans/DooB/assignees{/user}","branches_url":"https://api.github.com/repos/jorisoudejans/DooB/branches{/branch}","tags_url":"https://api.github.com/repos/jorisoudejans/DooB/tags","blobs_url":"https://api.github.com/repos/jorisoudejans/DooB/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jorisoudejans/DooB/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jorisoudejans/DooB/git/refs{/sha}","trees_url":"https://api.github.com/repos/jorisoudejans/DooB/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jorisoudejans/DooB/statuses/{sha}","languages_url":"https://api.github.com/repos/jorisoudejans/DooB/languages","stargazers_url":"https://api.github.com/repos/jorisoudejans/DooB/stargazers","contributors_url":"https://api.github.com/repos/jorisoudejans/DooB/contributors","subscribers_url":"https://api.github.com/repos/jorisoudejans/DooB/subscribers","subscription_url":"https://api.github.com/repos/jorisoudejans/DooB/subscription","commits_url":"https://api.github.com/repos/jorisoudejans/DooB/commits{/sha}","git_commits_url":"https://api.github.com/repos/jorisoudejans/DooB/git/commits{/sha}","comments_url":"https://api.github.com/repos/jorisoudejans/DooB/comments{/number}","issue_comment_url":"https://api.github.com/repos/jorisoudejans/DooB/issues/comments{/number}","contents_url":"https://api.github.com/repos/jorisoudejans/DooB/contents/{+path}","compare_url":"https://api.github.com/repos/jorisoudejans/DooB/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jorisoudejans/DooB/merges","archive_url":"https://api.github.com/repos/jorisoudejans/DooB/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jorisoudejans/DooB/downloads","issues_url":"https://api.github.com/repos/jorisoudejans/DooB/issues{/number}","pulls_url":"https://api.github.com/repos/jorisoudejans/DooB/pulls{/number}","milestones_url":"https://api.github.com/repos/jorisoudejans/DooB/milestones{/number}","notifications_url":"https://api.github.com/repos/jorisoudejans/DooB/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jorisoudejans/DooB/labels{/name}","releases_url":"https://api.github.com/repos/jorisoudejans/DooB/releases{/id}","created_at":"2015-09-02T17:33:31Z","updated_at":"2015-09-04T05:15:46Z","pushed_at":"2015-10-09T15:04:44Z","git_url":"git://github.com/jorisoudejans/DooB.git","ssh_url":"git@github.com:jorisoudejans/DooB.git","clone_url":"https://github.com/jorisoudejans/DooB.git","svn_url":"https://github.com/jorisoudejans/DooB","homepage":null,"size":2812,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"jorisoudejans:master","ref":"master","sha":"363f94429bdfd1b673829423ddaea38dcf7f982e","user":{"login":"jorisoudejans","id":4869451,"avatar_url":"https://avatars.githubusercontent.com/u/4869451?v=3","gravatar_id":"","url":"https://api.github.com/users/jorisoudejans","html_url":"https://github.com/jorisoudejans","followers_url":"https://api.github.com/users/jorisoudejans/followers","following_url":"https://api.github.com/users/jorisoudejans/following{/other_user}","gists_url":"https://api.github.com/users/jorisoudejans/gists{/gist_id}","starred_url":"https://api.github.com/users/jorisoudejans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorisoudejans/subscriptions","organizations_url":"https://api.github.com/users/jorisoudejans/orgs","repos_url":"https://api.github.com/users/jorisoudejans/repos","events_url":"https://api.github.com/users/jorisoudejans/events{/privacy}","received_events_url":"https://api.github.com/users/jorisoudejans/received_events","type":"User","site_admin":false},"repo":{"id":41816075,"name":"DooB","full_name":"jorisoudejans/DooB","owner":{"login":"jorisoudejans","id":4869451,"avatar_url":"https://avatars.githubusercontent.com/u/4869451?v=3","gravatar_id":"","url":"https://api.github.com/users/jorisoudejans","html_url":"https://github.com/jorisoudejans","followers_url":"https://api.github.com/users/jorisoudejans/followers","following_url":"https://api.github.com/users/jorisoudejans/following{/other_user}","gists_url":"https://api.github.com/users/jorisoudejans/gists{/gist_id}","starred_url":"https://api.github.com/users/jorisoudejans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorisoudejans/subscriptions","organizations_url":"https://api.github.com/users/jorisoudejans/orgs","repos_url":"https://api.github.com/users/jorisoudejans/repos","events_url":"https://api.github.com/users/jorisoudejans/events{/privacy}","received_events_url":"https://api.github.com/users/jorisoudejans/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jorisoudejans/DooB","description":"Bouble Trouble game","fork":false,"url":"https://api.github.com/repos/jorisoudejans/DooB","forks_url":"https://api.github.com/repos/jorisoudejans/DooB/forks","keys_url":"https://api.github.com/repos/jorisoudejans/DooB/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jorisoudejans/DooB/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jorisoudejans/DooB/teams","hooks_url":"https://api.github.com/repos/jorisoudejans/DooB/hooks","issue_events_url":"https://api.github.com/repos/jorisoudejans/DooB/issues/events{/number}","events_url":"https://api.github.com/repos/jorisoudejans/DooB/events","assignees_url":"https://api.github.com/repos/jorisoudejans/DooB/assignees{/user}","branches_url":"https://api.github.com/repos/jorisoudejans/DooB/branches{/branch}","tags_url":"https://api.github.com/repos/jorisoudejans/DooB/tags","blobs_url":"https://api.github.com/repos/jorisoudejans/DooB/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jorisoudejans/DooB/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jorisoudejans/DooB/git/refs{/sha}","trees_url":"https://api.github.com/repos/jorisoudejans/DooB/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jorisoudejans/DooB/statuses/{sha}","languages_url":"https://api.github.com/repos/jorisoudejans/DooB/languages","stargazers_url":"https://api.github.com/repos/jorisoudejans/DooB/stargazers","contributors_url":"https://api.github.com/repos/jorisoudejans/DooB/contributors","subscribers_url":"https://api.github.com/repos/jorisoudejans/DooB/subscribers","subscription_url":"https://api.github.com/repos/jorisoudejans/DooB/subscription","commits_url":"https://api.github.com/repos/jorisoudejans/DooB/commits{/sha}","git_commits_url":"https://api.github.com/repos/jorisoudejans/DooB/git/commits{/sha}","comments_url":"https://api.github.com/repos/jorisoudejans/DooB/comments{/number}","issue_comment_url":"https://api.github.com/repos/jorisoudejans/DooB/issues/comments{/number}","contents_url":"https://api.github.com/repos/jorisoudejans/DooB/contents/{+path}","compare_url":"https://api.github.com/repos/jorisoudejans/DooB/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jorisoudejans/DooB/merges","archive_url":"https://api.github.com/repos/jorisoudejans/DooB/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jorisoudejans/DooB/downloads","issues_url":"https://api.github.com/repos/jorisoudejans/DooB/issues{/number}","pulls_url":"https://api.github.com/repos/jorisoudejans/DooB/pulls{/number}","milestones_url":"https://api.github.com/repos/jorisoudejans/DooB/milestones{/number}","notifications_url":"https://api.github.com/repos/jorisoudejans/DooB/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jorisoudejans/DooB/labels{/name}","releases_url":"https://api.github.com/repos/jorisoudejans/DooB/releases{/id}","created_at":"2015-09-02T17:33:31Z","updated_at":"2015-09-04T05:15:46Z","pushed_at":"2015-10-09T15:04:44Z","git_url":"git://github.com/jorisoudejans/DooB.git","ssh_url":"git@github.com:jorisoudejans/DooB.git","clone_url":"https://github.com/jorisoudejans/DooB.git","svn_url":"https://github.com/jorisoudejans/DooB","homepage":null,"size":2812,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jorisoudejans/DooB/pulls/29"},"html":{"href":"https://github.com/jorisoudejans/DooB/pull/29"},"issue":{"href":"https://api.github.com/repos/jorisoudejans/DooB/issues/29"},"comments":{"href":"https://api.github.com/repos/jorisoudejans/DooB/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/jorisoudejans/DooB/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/jorisoudejans/DooB/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jorisoudejans/DooB/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/jorisoudejans/DooB/statuses/cece3c3e9deaaf78882d09822c16f7bceb081586"}}}}