{"action":"created","comment":{"url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/pulls/comments/60857678","id":60857678,"diff_hunk":"@@ -2,17 +2,35 @@\n \n import java.util.ArrayList;\n \n+import javafx.scene.paint.Color;\n+\n /**\n  * \n  * @author Joseph Martin\n+ * @author Logan Tutt\n  */\n public class ReleaseBoard extends Board implements java.io.Serializable {\n+\n   ArrayList<ReleaseNumber> numbers;\n \n-  public ReleaseBoard(ArrayList<ReleaseNumber> numbers) {\n-    this.numbers = numbers;\n+  public ReleaseBoard(ArrayList<ReleaseNumber> numbers){\n+    if(numbers == null)\n+      this.numbers = new ArrayList<ReleaseNumber>();\n+    else\n+      this.numbers = numbers;\n+\n   }\n-  \n+\n+  @Override\n+  public Square[][] getSquares(){\n+    Square[][] squares = super.getSquares();\n+    for(ReleaseNumber num: numbers){\n+      if(squares[num.getCol()][num.getRow()] != null && getPieceAtLocation(num.getRow(), num.getCol()) == null)","path":"src/main/java/aeneas/models/ReleaseBoard.java","position":30,"original_position":30,"commit_id":"10860577f4c7bd5275d2142fc28a624ea1388776","original_commit_id":"10860577f4c7bd5275d2142fc28a624ea1388776","user":{"login":"PeterMitrano","id":4010770,"avatar_url":"https://avatars.githubusercontent.com/u/4010770?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterMitrano","html_url":"https://github.com/PeterMitrano","followers_url":"https://api.github.com/users/PeterMitrano/followers","following_url":"https://api.github.com/users/PeterMitrano/following{/other_user}","gists_url":"https://api.github.com/users/PeterMitrano/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterMitrano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterMitrano/subscriptions","organizations_url":"https://api.github.com/users/PeterMitrano/orgs","repos_url":"https://api.github.com/users/PeterMitrano/repos","events_url":"https://api.github.com/users/PeterMitrano/events{/privacy}","received_events_url":"https://api.github.com/users/PeterMitrano/received_events","type":"User","site_admin":false},"body":"also what is all of this for?","created_at":"2016-04-25T02:08:43Z","updated_at":"2016-04-25T02:08:43Z","html_url":"https://github.com/Cheddarpuffs/Aeneas-KabaSuji/pull/57#discussion_r60857678","pull_request_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/pulls/comments/60857678"},"html":{"href":"https://github.com/Cheddarpuffs/Aeneas-KabaSuji/pull/57#discussion_r60857678"},"pull_request":{"href":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/pulls/57","id":67650520,"html_url":"https://github.com/Cheddarpuffs/Aeneas-KabaSuji/pull/57","diff_url":"https://github.com/Cheddarpuffs/Aeneas-KabaSuji/pull/57.diff","patch_url":"https://github.com/Cheddarpuffs/Aeneas-KabaSuji/pull/57.patch","issue_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/issues/57","number":57,"state":"open","locked":false,"title":"Display pieces and release numbers","user":{"login":"LoganTutt","id":10036790,"avatar_url":"https://avatars.githubusercontent.com/u/10036790?v=3","gravatar_id":"","url":"https://api.github.com/users/LoganTutt","html_url":"https://github.com/LoganTutt","followers_url":"https://api.github.com/users/LoganTutt/followers","following_url":"https://api.github.com/users/LoganTutt/following{/other_user}","gists_url":"https://api.github.com/users/LoganTutt/gists{/gist_id}","starred_url":"https://api.github.com/users/LoganTutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoganTutt/subscriptions","organizations_url":"https://api.github.com/users/LoganTutt/orgs","repos_url":"https://api.github.com/users/LoganTutt/repos","events_url":"https://api.github.com/users/LoganTutt/events{/privacy}","received_events_url":"https://api.github.com/users/LoganTutt/received_events","type":"User","site_admin":false},"body":"#### What issue does this fix?\r\n\r\n - Issue #41 and #30 \r\n \r\n \r\n#### What features does this propose?\r\n\r\n - Adds ability to display pieces on a board, display invalid grid squares, and display release numbers\r\n \r\n \r\n#### Did you add tests to cover the code you propose?\r\n\r\nFixed old piece and release number tests to work\r\n\r\n\r\n","created_at":"2016-04-24T21:22:02Z","updated_at":"2016-04-25T02:08:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/pulls/57/commits","review_comments_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/pulls/57/comments","review_comment_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/issues/57/comments","statuses_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/statuses/10860577f4c7bd5275d2142fc28a624ea1388776","head":{"label":"Cheddarpuffs:board_display","ref":"board_display","sha":"10860577f4c7bd5275d2142fc28a624ea1388776","user":{"login":"Cheddarpuffs","id":17884699,"avatar_url":"https://avatars.githubusercontent.com/u/17884699?v=3","gravatar_id":"","url":"https://api.github.com/users/Cheddarpuffs","html_url":"https://github.com/Cheddarpuffs","followers_url":"https://api.github.com/users/Cheddarpuffs/followers","following_url":"https://api.github.com/users/Cheddarpuffs/following{/other_user}","gists_url":"https://api.github.com/users/Cheddarpuffs/gists{/gist_id}","starred_url":"https://api.github.com/users/Cheddarpuffs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cheddarpuffs/subscriptions","organizations_url":"https://api.github.com/users/Cheddarpuffs/orgs","repos_url":"https://api.github.com/users/Cheddarpuffs/repos","events_url":"https://api.github.com/users/Cheddarpuffs/events{/privacy}","received_events_url":"https://api.github.com/users/Cheddarpuffs/received_events","type":"Organization","site_admin":false},"repo":{"id":54702919,"name":"Aeneas-KabaSuji","full_name":"Cheddarpuffs/Aeneas-KabaSuji","owner":{"login":"Cheddarpuffs","id":17884699,"avatar_url":"https://avatars.githubusercontent.com/u/17884699?v=3","gravatar_id":"","url":"https://api.github.com/users/Cheddarpuffs","html_url":"https://github.com/Cheddarpuffs","followers_url":"https://api.github.com/users/Cheddarpuffs/followers","following_url":"https://api.github.com/users/Cheddarpuffs/following{/other_user}","gists_url":"https://api.github.com/users/Cheddarpuffs/gists{/gist_id}","starred_url":"https://api.github.com/users/Cheddarpuffs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cheddarpuffs/subscriptions","organizations_url":"https://api.github.com/users/Cheddarpuffs/orgs","repos_url":"https://api.github.com/users/Cheddarpuffs/repos","events_url":"https://api.github.com/users/Cheddarpuffs/events{/privacy}","received_events_url":"https://api.github.com/users/Cheddarpuffs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cheddarpuffs/Aeneas-KabaSuji","description":"The Official KabaSuji","fork":false,"url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji","forks_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/forks","keys_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/teams","hooks_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/hooks","issue_events_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/issues/events{/number}","events_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/events","assignees_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/assignees{/user}","branches_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/branches{/branch}","tags_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/tags","blobs_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/statuses/{sha}","languages_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/languages","stargazers_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/stargazers","contributors_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/contributors","subscribers_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/subscribers","subscription_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/subscription","commits_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/contents/{+path}","compare_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/merges","archive_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/downloads","issues_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/issues{/number}","pulls_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/pulls{/number}","milestones_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/milestones{/number}","notifications_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/labels{/name}","releases_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/releases{/id}","deployments_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/deployments","created_at":"2016-03-25T07:36:39Z","updated_at":"2016-04-10T07:04:36Z","pushed_at":"2016-04-25T01:40:54Z","git_url":"git://github.com/Cheddarpuffs/Aeneas-KabaSuji.git","ssh_url":"git@github.com:Cheddarpuffs/Aeneas-KabaSuji.git","clone_url":"https://github.com/Cheddarpuffs/Aeneas-KabaSuji.git","svn_url":"https://github.com/Cheddarpuffs/Aeneas-KabaSuji","homepage":"http://cheddarpuffs.github.io/Aeneas-KabaSuji/","size":7349,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":15,"forks":2,"open_issues":15,"watchers":0,"default_branch":"master"}},"base":{"label":"Cheddarpuffs:master","ref":"master","sha":"f336ea3bd29e59f1fe4b9ac1bd9f43266a6b831c","user":{"login":"Cheddarpuffs","id":17884699,"avatar_url":"https://avatars.githubusercontent.com/u/17884699?v=3","gravatar_id":"","url":"https://api.github.com/users/Cheddarpuffs","html_url":"https://github.com/Cheddarpuffs","followers_url":"https://api.github.com/users/Cheddarpuffs/followers","following_url":"https://api.github.com/users/Cheddarpuffs/following{/other_user}","gists_url":"https://api.github.com/users/Cheddarpuffs/gists{/gist_id}","starred_url":"https://api.github.com/users/Cheddarpuffs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cheddarpuffs/subscriptions","organizations_url":"https://api.github.com/users/Cheddarpuffs/orgs","repos_url":"https://api.github.com/users/Cheddarpuffs/repos","events_url":"https://api.github.com/users/Cheddarpuffs/events{/privacy}","received_events_url":"https://api.github.com/users/Cheddarpuffs/received_events","type":"Organization","site_admin":false},"repo":{"id":54702919,"name":"Aeneas-KabaSuji","full_name":"Cheddarpuffs/Aeneas-KabaSuji","owner":{"login":"Cheddarpuffs","id":17884699,"avatar_url":"https://avatars.githubusercontent.com/u/17884699?v=3","gravatar_id":"","url":"https://api.github.com/users/Cheddarpuffs","html_url":"https://github.com/Cheddarpuffs","followers_url":"https://api.github.com/users/Cheddarpuffs/followers","following_url":"https://api.github.com/users/Cheddarpuffs/following{/other_user}","gists_url":"https://api.github.com/users/Cheddarpuffs/gists{/gist_id}","starred_url":"https://api.github.com/users/Cheddarpuffs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cheddarpuffs/subscriptions","organizations_url":"https://api.github.com/users/Cheddarpuffs/orgs","repos_url":"https://api.github.com/users/Cheddarpuffs/repos","events_url":"https://api.github.com/users/Cheddarpuffs/events{/privacy}","received_events_url":"https://api.github.com/users/Cheddarpuffs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Cheddarpuffs/Aeneas-KabaSuji","description":"The Official KabaSuji","fork":false,"url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji","forks_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/forks","keys_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/teams","hooks_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/hooks","issue_events_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/issues/events{/number}","events_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/events","assignees_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/assignees{/user}","branches_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/branches{/branch}","tags_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/tags","blobs_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/git/refs{/sha}","trees_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/statuses/{sha}","languages_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/languages","stargazers_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/stargazers","contributors_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/contributors","subscribers_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/subscribers","subscription_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/subscription","commits_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/commits{/sha}","git_commits_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/git/commits{/sha}","comments_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/comments{/number}","issue_comment_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/issues/comments{/number}","contents_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/contents/{+path}","compare_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/merges","archive_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/downloads","issues_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/issues{/number}","pulls_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/pulls{/number}","milestones_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/milestones{/number}","notifications_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/labels{/name}","releases_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/releases{/id}","deployments_url":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/deployments","created_at":"2016-03-25T07:36:39Z","updated_at":"2016-04-10T07:04:36Z","pushed_at":"2016-04-25T01:40:54Z","git_url":"git://github.com/Cheddarpuffs/Aeneas-KabaSuji.git","ssh_url":"git@github.com:Cheddarpuffs/Aeneas-KabaSuji.git","clone_url":"https://github.com/Cheddarpuffs/Aeneas-KabaSuji.git","svn_url":"https://github.com/Cheddarpuffs/Aeneas-KabaSuji","homepage":"http://cheddarpuffs.github.io/Aeneas-KabaSuji/","size":7349,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"open_issues_count":15,"forks":2,"open_issues":15,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/pulls/57"},"html":{"href":"https://github.com/Cheddarpuffs/Aeneas-KabaSuji/pull/57"},"issue":{"href":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/issues/57"},"comments":{"href":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/Cheddarpuffs/Aeneas-KabaSuji/statuses/10860577f4c7bd5275d2142fc28a624ea1388776"}}}}