{"action":"created","comment":{"url":"https://api.github.com/repos/deepweeb/B-B-W/pulls/comments/119837788","pull_request_review_id":41753515,"id":119837788,"diff_hunk":"@@ -0,0 +1,195 @@\n+package nl.tudelft.b_b_w.model.block;\n+\n+import java.io.UnsupportedEncodingException;\n+import java.math.BigInteger;\n+import java.security.MessageDigest;\n+import java.security.NoSuchAlgorithmException;\n+\n+import nl.tudelft.b_b_w.model.EncodingUnavailableException;\n+import nl.tudelft.b_b_w.model.HashException;\n+import nl.tudelft.b_b_w.model.HashUnavailableException;\n+import nl.tudelft.b_b_w.model.User;\n+\n+/**\n+ * Block represents\n+ */\n+\n+public abstract class Block {\n+    /** All block data is stored in another class */\n+    private BlockData blockData;\n+\n+    /** Hash value of the block */","path":"app/src/main/java/nl/tudelft/b_b_w/model/block/Block.java","position":21,"original_position":21,"commit_id":"31876c7ee9cbeda18f517d88661d8af18ed512e3","original_commit_id":"31876c7ee9cbeda18f517d88661d8af18ed512e3","user":{"login":"humanjas","id":8653865,"avatar_url":"https://avatars0.githubusercontent.com/u/8653865?v=3","gravatar_id":"","url":"https://api.github.com/users/humanjas","html_url":"https://github.com/humanjas","followers_url":"https://api.github.com/users/humanjas/followers","following_url":"https://api.github.com/users/humanjas/following{/other_user}","gists_url":"https://api.github.com/users/humanjas/gists{/gist_id}","starred_url":"https://api.github.com/users/humanjas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humanjas/subscriptions","organizations_url":"https://api.github.com/users/humanjas/orgs","repos_url":"https://api.github.com/users/humanjas/repos","events_url":"https://api.github.com/users/humanjas/events{/privacy}","received_events_url":"https://api.github.com/users/humanjas/received_events","type":"User","site_admin":false},"body":"Not the right way to write javadoc in this class\r\n","created_at":"2017-06-02T11:46:36Z","updated_at":"2017-06-02T11:55:54Z","html_url":"https://github.com/deepweeb/B-B-W/pull/109#discussion_r119837788","pull_request_url":"https://api.github.com/repos/deepweeb/B-B-W/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/deepweeb/B-B-W/pulls/comments/119837788"},"html":{"href":"https://github.com/deepweeb/B-B-W/pull/109#discussion_r119837788"},"pull_request":{"href":"https://api.github.com/repos/deepweeb/B-B-W/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/deepweeb/B-B-W/pulls/109","id":123525916,"html_url":"https://github.com/deepweeb/B-B-W/pull/109","diff_url":"https://github.com/deepweeb/B-B-W/pull/109.diff","patch_url":"https://github.com/deepweeb/B-B-W/pull/109.patch","issue_url":"https://api.github.com/repos/deepweeb/B-B-W/issues/109","number":109,"state":"open","locked":false,"title":"Block Subclasses and Creation Integration","user":{"login":"ymte","id":2787945,"avatar_url":"https://avatars0.githubusercontent.com/u/2787945?v=3","gravatar_id":"","url":"https://api.github.com/users/ymte","html_url":"https://github.com/ymte","followers_url":"https://api.github.com/users/ymte/followers","following_url":"https://api.github.com/users/ymte/following{/other_user}","gists_url":"https://api.github.com/users/ymte/gists{/gist_id}","starred_url":"https://api.github.com/users/ymte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ymte/subscriptions","organizations_url":"https://api.github.com/users/ymte/orgs","repos_url":"https://api.github.com/users/ymte/repos","events_url":"https://api.github.com/users/ymte/events{/privacy}","received_events_url":"https://api.github.com/users/ymte/received_events","type":"User","site_admin":false},"body":"#84 \r\n#106 \r\n# Introduction\r\nThis PR is to integrate the createBlock function deeply inside the framework and unittests. There has been lots of refactoring and also integration with the User class, resulting in (hopefully) much easier to read and maintain code.\r\n\r\n-Also, fixed application crashes when a block is added twice.\r\n\r\n# Stability\r\nDemo has been tested and works perfectly, all unittests pass.\r\n\r\n# PR Reflection\r\nIt is a bit large, since many features have been merged from develop and had to be modified in order to enhance the unittests.","created_at":"2017-06-01T15:20:45Z","updated_at":"2017-06-02T11:55:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"64f3a3c0b3adab78aea20967057852fedacfe9d5","assignee":null,"assignees":[],"requested_reviewers":[{"login":"ashay123","id":9797531,"avatar_url":"https://avatars3.githubusercontent.com/u/9797531?v=3","gravatar_id":"","url":"https://api.github.com/users/ashay123","html_url":"https://github.com/ashay123","followers_url":"https://api.github.com/users/ashay123/followers","following_url":"https://api.github.com/users/ashay123/following{/other_user}","gists_url":"https://api.github.com/users/ashay123/gists{/gist_id}","starred_url":"https://api.github.com/users/ashay123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashay123/subscriptions","organizations_url":"https://api.github.com/users/ashay123/orgs","repos_url":"https://api.github.com/users/ashay123/repos","events_url":"https://api.github.com/users/ashay123/events{/privacy}","received_events_url":"https://api.github.com/users/ashay123/received_events","type":"User","site_admin":false},{"login":"nzarin","id":15832928,"avatar_url":"https://avatars3.githubusercontent.com/u/15832928?v=3","gravatar_id":"","url":"https://api.github.com/users/nzarin","html_url":"https://github.com/nzarin","followers_url":"https://api.github.com/users/nzarin/followers","following_url":"https://api.github.com/users/nzarin/following{/other_user}","gists_url":"https://api.github.com/users/nzarin/gists{/gist_id}","starred_url":"https://api.github.com/users/nzarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nzarin/subscriptions","organizations_url":"https://api.github.com/users/nzarin/orgs","repos_url":"https://api.github.com/users/nzarin/repos","events_url":"https://api.github.com/users/nzarin/events{/privacy}","received_events_url":"https://api.github.com/users/nzarin/received_events","type":"User","site_admin":false},{"login":"deepweeb","id":16018391,"avatar_url":"https://avatars0.githubusercontent.com/u/16018391?v=3","gravatar_id":"","url":"https://api.github.com/users/deepweeb","html_url":"https://github.com/deepweeb","followers_url":"https://api.github.com/users/deepweeb/followers","following_url":"https://api.github.com/users/deepweeb/following{/other_user}","gists_url":"https://api.github.com/users/deepweeb/gists{/gist_id}","starred_url":"https://api.github.com/users/deepweeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepweeb/subscriptions","organizations_url":"https://api.github.com/users/deepweeb/orgs","repos_url":"https://api.github.com/users/deepweeb/repos","events_url":"https://api.github.com/users/deepweeb/events{/privacy}","received_events_url":"https://api.github.com/users/deepweeb/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/deepweeb/B-B-W/pulls/109/commits","review_comments_url":"https://api.github.com/repos/deepweeb/B-B-W/pulls/109/comments","review_comment_url":"https://api.github.com/repos/deepweeb/B-B-W/pulls/comments{/number}","comments_url":"https://api.github.com/repos/deepweeb/B-B-W/issues/109/comments","statuses_url":"https://api.github.com/repos/deepweeb/B-B-W/statuses/31876c7ee9cbeda18f517d88661d8af18ed512e3","head":{"label":"deepweeb:feature/blockSubclasses","ref":"feature/blockSubclasses","sha":"31876c7ee9cbeda18f517d88661d8af18ed512e3","user":{"login":"deepweeb","id":16018391,"avatar_url":"https://avatars0.githubusercontent.com/u/16018391?v=3","gravatar_id":"","url":"https://api.github.com/users/deepweeb","html_url":"https://github.com/deepweeb","followers_url":"https://api.github.com/users/deepweeb/followers","following_url":"https://api.github.com/users/deepweeb/following{/other_user}","gists_url":"https://api.github.com/users/deepweeb/gists{/gist_id}","starred_url":"https://api.github.com/users/deepweeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepweeb/subscriptions","organizations_url":"https://api.github.com/users/deepweeb/orgs","repos_url":"https://api.github.com/users/deepweeb/repos","events_url":"https://api.github.com/users/deepweeb/events{/privacy}","received_events_url":"https://api.github.com/users/deepweeb/received_events","type":"User","site_admin":false},"repo":{"id":89459341,"name":"B-B-W","full_name":"deepweeb/B-B-W","owner":{"login":"deepweeb","id":16018391,"avatar_url":"https://avatars0.githubusercontent.com/u/16018391?v=3","gravatar_id":"","url":"https://api.github.com/users/deepweeb","html_url":"https://github.com/deepweeb","followers_url":"https://api.github.com/users/deepweeb/followers","following_url":"https://api.github.com/users/deepweeb/following{/other_user}","gists_url":"https://api.github.com/users/deepweeb/gists{/gist_id}","starred_url":"https://api.github.com/users/deepweeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepweeb/subscriptions","organizations_url":"https://api.github.com/users/deepweeb/orgs","repos_url":"https://api.github.com/users/deepweeb/repos","events_url":"https://api.github.com/users/deepweeb/events{/privacy}","received_events_url":"https://api.github.com/users/deepweeb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deepweeb/B-B-W","description":null,"fork":false,"url":"https://api.github.com/repos/deepweeb/B-B-W","forks_url":"https://api.github.com/repos/deepweeb/B-B-W/forks","keys_url":"https://api.github.com/repos/deepweeb/B-B-W/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deepweeb/B-B-W/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deepweeb/B-B-W/teams","hooks_url":"https://api.github.com/repos/deepweeb/B-B-W/hooks","issue_events_url":"https://api.github.com/repos/deepweeb/B-B-W/issues/events{/number}","events_url":"https://api.github.com/repos/deepweeb/B-B-W/events","assignees_url":"https://api.github.com/repos/deepweeb/B-B-W/assignees{/user}","branches_url":"https://api.github.com/repos/deepweeb/B-B-W/branches{/branch}","tags_url":"https://api.github.com/repos/deepweeb/B-B-W/tags","blobs_url":"https://api.github.com/repos/deepweeb/B-B-W/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deepweeb/B-B-W/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deepweeb/B-B-W/git/refs{/sha}","trees_url":"https://api.github.com/repos/deepweeb/B-B-W/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deepweeb/B-B-W/statuses/{sha}","languages_url":"https://api.github.com/repos/deepweeb/B-B-W/languages","stargazers_url":"https://api.github.com/repos/deepweeb/B-B-W/stargazers","contributors_url":"https://api.github.com/repos/deepweeb/B-B-W/contributors","subscribers_url":"https://api.github.com/repos/deepweeb/B-B-W/subscribers","subscription_url":"https://api.github.com/repos/deepweeb/B-B-W/subscription","commits_url":"https://api.github.com/repos/deepweeb/B-B-W/commits{/sha}","git_commits_url":"https://api.github.com/repos/deepweeb/B-B-W/git/commits{/sha}","comments_url":"https://api.github.com/repos/deepweeb/B-B-W/comments{/number}","issue_comment_url":"https://api.github.com/repos/deepweeb/B-B-W/issues/comments{/number}","contents_url":"https://api.github.com/repos/deepweeb/B-B-W/contents/{+path}","compare_url":"https://api.github.com/repos/deepweeb/B-B-W/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deepweeb/B-B-W/merges","archive_url":"https://api.github.com/repos/deepweeb/B-B-W/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deepweeb/B-B-W/downloads","issues_url":"https://api.github.com/repos/deepweeb/B-B-W/issues{/number}","pulls_url":"https://api.github.com/repos/deepweeb/B-B-W/pulls{/number}","milestones_url":"https://api.github.com/repos/deepweeb/B-B-W/milestones{/number}","notifications_url":"https://api.github.com/repos/deepweeb/B-B-W/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deepweeb/B-B-W/labels{/name}","releases_url":"https://api.github.com/repos/deepweeb/B-B-W/releases{/id}","deployments_url":"https://api.github.com/repos/deepweeb/B-B-W/deployments","created_at":"2017-04-26T08:50:09Z","updated_at":"2017-05-15T09:35:36Z","pushed_at":"2017-06-02T11:38:56Z","git_url":"git://github.com/deepweeb/B-B-W.git","ssh_url":"git@github.com:deepweeb/B-B-W.git","clone_url":"https://github.com/deepweeb/B-B-W.git","svn_url":"https://github.com/deepweeb/B-B-W","homepage":null,"size":110516,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":38,"forks":2,"open_issues":38,"watchers":0,"default_branch":"master"}},"base":{"label":"deepweeb:develop","ref":"develop","sha":"17829887a58b34bb44b600224f7059d3afdf0d4e","user":{"login":"deepweeb","id":16018391,"avatar_url":"https://avatars0.githubusercontent.com/u/16018391?v=3","gravatar_id":"","url":"https://api.github.com/users/deepweeb","html_url":"https://github.com/deepweeb","followers_url":"https://api.github.com/users/deepweeb/followers","following_url":"https://api.github.com/users/deepweeb/following{/other_user}","gists_url":"https://api.github.com/users/deepweeb/gists{/gist_id}","starred_url":"https://api.github.com/users/deepweeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepweeb/subscriptions","organizations_url":"https://api.github.com/users/deepweeb/orgs","repos_url":"https://api.github.com/users/deepweeb/repos","events_url":"https://api.github.com/users/deepweeb/events{/privacy}","received_events_url":"https://api.github.com/users/deepweeb/received_events","type":"User","site_admin":false},"repo":{"id":89459341,"name":"B-B-W","full_name":"deepweeb/B-B-W","owner":{"login":"deepweeb","id":16018391,"avatar_url":"https://avatars0.githubusercontent.com/u/16018391?v=3","gravatar_id":"","url":"https://api.github.com/users/deepweeb","html_url":"https://github.com/deepweeb","followers_url":"https://api.github.com/users/deepweeb/followers","following_url":"https://api.github.com/users/deepweeb/following{/other_user}","gists_url":"https://api.github.com/users/deepweeb/gists{/gist_id}","starred_url":"https://api.github.com/users/deepweeb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deepweeb/subscriptions","organizations_url":"https://api.github.com/users/deepweeb/orgs","repos_url":"https://api.github.com/users/deepweeb/repos","events_url":"https://api.github.com/users/deepweeb/events{/privacy}","received_events_url":"https://api.github.com/users/deepweeb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deepweeb/B-B-W","description":null,"fork":false,"url":"https://api.github.com/repos/deepweeb/B-B-W","forks_url":"https://api.github.com/repos/deepweeb/B-B-W/forks","keys_url":"https://api.github.com/repos/deepweeb/B-B-W/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deepweeb/B-B-W/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deepweeb/B-B-W/teams","hooks_url":"https://api.github.com/repos/deepweeb/B-B-W/hooks","issue_events_url":"https://api.github.com/repos/deepweeb/B-B-W/issues/events{/number}","events_url":"https://api.github.com/repos/deepweeb/B-B-W/events","assignees_url":"https://api.github.com/repos/deepweeb/B-B-W/assignees{/user}","branches_url":"https://api.github.com/repos/deepweeb/B-B-W/branches{/branch}","tags_url":"https://api.github.com/repos/deepweeb/B-B-W/tags","blobs_url":"https://api.github.com/repos/deepweeb/B-B-W/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deepweeb/B-B-W/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deepweeb/B-B-W/git/refs{/sha}","trees_url":"https://api.github.com/repos/deepweeb/B-B-W/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deepweeb/B-B-W/statuses/{sha}","languages_url":"https://api.github.com/repos/deepweeb/B-B-W/languages","stargazers_url":"https://api.github.com/repos/deepweeb/B-B-W/stargazers","contributors_url":"https://api.github.com/repos/deepweeb/B-B-W/contributors","subscribers_url":"https://api.github.com/repos/deepweeb/B-B-W/subscribers","subscription_url":"https://api.github.com/repos/deepweeb/B-B-W/subscription","commits_url":"https://api.github.com/repos/deepweeb/B-B-W/commits{/sha}","git_commits_url":"https://api.github.com/repos/deepweeb/B-B-W/git/commits{/sha}","comments_url":"https://api.github.com/repos/deepweeb/B-B-W/comments{/number}","issue_comment_url":"https://api.github.com/repos/deepweeb/B-B-W/issues/comments{/number}","contents_url":"https://api.github.com/repos/deepweeb/B-B-W/contents/{+path}","compare_url":"https://api.github.com/repos/deepweeb/B-B-W/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deepweeb/B-B-W/merges","archive_url":"https://api.github.com/repos/deepweeb/B-B-W/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deepweeb/B-B-W/downloads","issues_url":"https://api.github.com/repos/deepweeb/B-B-W/issues{/number}","pulls_url":"https://api.github.com/repos/deepweeb/B-B-W/pulls{/number}","milestones_url":"https://api.github.com/repos/deepweeb/B-B-W/milestones{/number}","notifications_url":"https://api.github.com/repos/deepweeb/B-B-W/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deepweeb/B-B-W/labels{/name}","releases_url":"https://api.github.com/repos/deepweeb/B-B-W/releases{/id}","deployments_url":"https://api.github.com/repos/deepweeb/B-B-W/deployments","created_at":"2017-04-26T08:50:09Z","updated_at":"2017-05-15T09:35:36Z","pushed_at":"2017-06-02T11:38:56Z","git_url":"git://github.com/deepweeb/B-B-W.git","ssh_url":"git@github.com:deepweeb/B-B-W.git","clone_url":"https://github.com/deepweeb/B-B-W.git","svn_url":"https://github.com/deepweeb/B-B-W","homepage":null,"size":110516,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":38,"forks":2,"open_issues":38,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/deepweeb/B-B-W/pulls/109"},"html":{"href":"https://github.com/deepweeb/B-B-W/pull/109"},"issue":{"href":"https://api.github.com/repos/deepweeb/B-B-W/issues/109"},"comments":{"href":"https://api.github.com/repos/deepweeb/B-B-W/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/deepweeb/B-B-W/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/deepweeb/B-B-W/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/deepweeb/B-B-W/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/deepweeb/B-B-W/statuses/31876c7ee9cbeda18f517d88661d8af18ed512e3"}}}}
{"actor":{"display_login":"humanjas"}}