{"action":"created","comment":{"url":"https://api.github.com/repos/TheCodingGent/habits/pulls/comments/62435863","id":62435863,"diff_hunk":"@@ -0,0 +1,59 @@\n+package com.example.ayapp.habits;\n+\n+/**\n+ * Created by amoughnie on 07-May-16.\n+ */\n+public class Habit {\n+\n+    private String title;// habit title\n+    private String description;// habit description\n+    private int goal;// number of days in which you want to preform this habit\n+    private int id; // used as an index in the database\n+\n+    public Habit(String title,String description, int goal, int id){\n+        this.title = title;\n+        this.description = description;\n+        this.goal = goal;\n+        this.id = id;\n+    }\n+\n+    public Habit(){","path":"app/src/main/java/com/example/ayapp/habits/Habit.java","position":20,"original_position":20,"commit_id":"f86f5c9b2fe8e79adce8f819310642d0f83f84b2","original_commit_id":"f86f5c9b2fe8e79adce8f819310642d0f83f84b2","user":{"login":"TheCodingGent","id":1191123,"avatar_url":"https://avatars.githubusercontent.com/u/1191123?v=3","gravatar_id":"","url":"https://api.github.com/users/TheCodingGent","html_url":"https://github.com/TheCodingGent","followers_url":"https://api.github.com/users/TheCodingGent/followers","following_url":"https://api.github.com/users/TheCodingGent/following{/other_user}","gists_url":"https://api.github.com/users/TheCodingGent/gists{/gist_id}","starred_url":"https://api.github.com/users/TheCodingGent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheCodingGent/subscriptions","organizations_url":"https://api.github.com/users/TheCodingGent/orgs","repos_url":"https://api.github.com/users/TheCodingGent/repos","events_url":"https://api.github.com/users/TheCodingGent/events{/privacy}","received_events_url":"https://api.github.com/users/TheCodingGent/received_events","type":"User","site_admin":false},"body":"Please put the default constructor above the regular constructor and add a section comment:\r\n\r\n/***********************************************************************************************\r\n     * CONSTRUCTORS\r\n     **********************************************************************************************/","created_at":"2016-05-08T17:58:16Z","updated_at":"2016-05-08T17:58:16Z","html_url":"https://github.com/TheCodingGent/habits/pull/4#discussion_r62435863","pull_request_url":"https://api.github.com/repos/TheCodingGent/habits/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/TheCodingGent/habits/pulls/comments/62435863"},"html":{"href":"https://github.com/TheCodingGent/habits/pull/4#discussion_r62435863"},"pull_request":{"href":"https://api.github.com/repos/TheCodingGent/habits/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/TheCodingGent/habits/pulls/4","id":69260128,"html_url":"https://github.com/TheCodingGent/habits/pull/4","diff_url":"https://github.com/TheCodingGent/habits/pull/4.diff","patch_url":"https://github.com/TheCodingGent/habits/pull/4.patch","issue_url":"https://api.github.com/repos/TheCodingGent/habits/issues/4","number":4,"state":"open","locked":false,"title":"Ahmad main","user":{"login":"amoughnie","id":16613824,"avatar_url":"https://avatars.githubusercontent.com/u/16613824?v=3","gravatar_id":"","url":"https://api.github.com/users/amoughnie","html_url":"https://github.com/amoughnie","followers_url":"https://api.github.com/users/amoughnie/followers","following_url":"https://api.github.com/users/amoughnie/following{/other_user}","gists_url":"https://api.github.com/users/amoughnie/gists{/gist_id}","starred_url":"https://api.github.com/users/amoughnie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amoughnie/subscriptions","organizations_url":"https://api.github.com/users/amoughnie/orgs","repos_url":"https://api.github.com/users/amoughnie/repos","events_url":"https://api.github.com/users/amoughnie/events{/privacy}","received_events_url":"https://api.github.com/users/amoughnie/received_events","type":"User","site_admin":false},"body":"Added Habit.java class","created_at":"2016-05-08T04:13:16Z","updated_at":"2016-05-08T17:58:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7da8ef9daf4716b731149db8a85f7be14c6d32c3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TheCodingGent/habits/pulls/4/commits","review_comments_url":"https://api.github.com/repos/TheCodingGent/habits/pulls/4/comments","review_comment_url":"https://api.github.com/repos/TheCodingGent/habits/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TheCodingGent/habits/issues/4/comments","statuses_url":"https://api.github.com/repos/TheCodingGent/habits/statuses/f86f5c9b2fe8e79adce8f819310642d0f83f84b2","head":{"label":"TheCodingGent:ahmad-main","ref":"ahmad-main","sha":"f86f5c9b2fe8e79adce8f819310642d0f83f84b2","user":{"login":"TheCodingGent","id":1191123,"avatar_url":"https://avatars.githubusercontent.com/u/1191123?v=3","gravatar_id":"","url":"https://api.github.com/users/TheCodingGent","html_url":"https://github.com/TheCodingGent","followers_url":"https://api.github.com/users/TheCodingGent/followers","following_url":"https://api.github.com/users/TheCodingGent/following{/other_user}","gists_url":"https://api.github.com/users/TheCodingGent/gists{/gist_id}","starred_url":"https://api.github.com/users/TheCodingGent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheCodingGent/subscriptions","organizations_url":"https://api.github.com/users/TheCodingGent/orgs","repos_url":"https://api.github.com/users/TheCodingGent/repos","events_url":"https://api.github.com/users/TheCodingGent/events{/privacy}","received_events_url":"https://api.github.com/users/TheCodingGent/received_events","type":"User","site_admin":false},"repo":{"id":58212963,"name":"habits","full_name":"TheCodingGent/habits","owner":{"login":"TheCodingGent","id":1191123,"avatar_url":"https://avatars.githubusercontent.com/u/1191123?v=3","gravatar_id":"","url":"https://api.github.com/users/TheCodingGent","html_url":"https://github.com/TheCodingGent","followers_url":"https://api.github.com/users/TheCodingGent/followers","following_url":"https://api.github.com/users/TheCodingGent/following{/other_user}","gists_url":"https://api.github.com/users/TheCodingGent/gists{/gist_id}","starred_url":"https://api.github.com/users/TheCodingGent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheCodingGent/subscriptions","organizations_url":"https://api.github.com/users/TheCodingGent/orgs","repos_url":"https://api.github.com/users/TheCodingGent/repos","events_url":"https://api.github.com/users/TheCodingGent/events{/privacy}","received_events_url":"https://api.github.com/users/TheCodingGent/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheCodingGent/habits","description":"An Android application for tracking habits; developing new habits or getting rid of old bad ones.","fork":false,"url":"https://api.github.com/repos/TheCodingGent/habits","forks_url":"https://api.github.com/repos/TheCodingGent/habits/forks","keys_url":"https://api.github.com/repos/TheCodingGent/habits/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheCodingGent/habits/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheCodingGent/habits/teams","hooks_url":"https://api.github.com/repos/TheCodingGent/habits/hooks","issue_events_url":"https://api.github.com/repos/TheCodingGent/habits/issues/events{/number}","events_url":"https://api.github.com/repos/TheCodingGent/habits/events","assignees_url":"https://api.github.com/repos/TheCodingGent/habits/assignees{/user}","branches_url":"https://api.github.com/repos/TheCodingGent/habits/branches{/branch}","tags_url":"https://api.github.com/repos/TheCodingGent/habits/tags","blobs_url":"https://api.github.com/repos/TheCodingGent/habits/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheCodingGent/habits/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheCodingGent/habits/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheCodingGent/habits/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheCodingGent/habits/statuses/{sha}","languages_url":"https://api.github.com/repos/TheCodingGent/habits/languages","stargazers_url":"https://api.github.com/repos/TheCodingGent/habits/stargazers","contributors_url":"https://api.github.com/repos/TheCodingGent/habits/contributors","subscribers_url":"https://api.github.com/repos/TheCodingGent/habits/subscribers","subscription_url":"https://api.github.com/repos/TheCodingGent/habits/subscription","commits_url":"https://api.github.com/repos/TheCodingGent/habits/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheCodingGent/habits/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheCodingGent/habits/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheCodingGent/habits/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheCodingGent/habits/contents/{+path}","compare_url":"https://api.github.com/repos/TheCodingGent/habits/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheCodingGent/habits/merges","archive_url":"https://api.github.com/repos/TheCodingGent/habits/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheCodingGent/habits/downloads","issues_url":"https://api.github.com/repos/TheCodingGent/habits/issues{/number}","pulls_url":"https://api.github.com/repos/TheCodingGent/habits/pulls{/number}","milestones_url":"https://api.github.com/repos/TheCodingGent/habits/milestones{/number}","notifications_url":"https://api.github.com/repos/TheCodingGent/habits/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheCodingGent/habits/labels{/name}","releases_url":"https://api.github.com/repos/TheCodingGent/habits/releases{/id}","deployments_url":"https://api.github.com/repos/TheCodingGent/habits/deployments","created_at":"2016-05-06T14:29:34Z","updated_at":"2016-05-06T14:38:28Z","pushed_at":"2016-05-08T04:13:16Z","git_url":"git://github.com/TheCodingGent/habits.git","ssh_url":"git@github.com:TheCodingGent/habits.git","clone_url":"https://github.com/TheCodingGent/habits.git","svn_url":"https://github.com/TheCodingGent/habits","homepage":null,"size":13788,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"TheCodingGent:master","ref":"master","sha":"08d95f787c83b12afb47340c5733b455d8b7761f","user":{"login":"TheCodingGent","id":1191123,"avatar_url":"https://avatars.githubusercontent.com/u/1191123?v=3","gravatar_id":"","url":"https://api.github.com/users/TheCodingGent","html_url":"https://github.com/TheCodingGent","followers_url":"https://api.github.com/users/TheCodingGent/followers","following_url":"https://api.github.com/users/TheCodingGent/following{/other_user}","gists_url":"https://api.github.com/users/TheCodingGent/gists{/gist_id}","starred_url":"https://api.github.com/users/TheCodingGent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheCodingGent/subscriptions","organizations_url":"https://api.github.com/users/TheCodingGent/orgs","repos_url":"https://api.github.com/users/TheCodingGent/repos","events_url":"https://api.github.com/users/TheCodingGent/events{/privacy}","received_events_url":"https://api.github.com/users/TheCodingGent/received_events","type":"User","site_admin":false},"repo":{"id":58212963,"name":"habits","full_name":"TheCodingGent/habits","owner":{"login":"TheCodingGent","id":1191123,"avatar_url":"https://avatars.githubusercontent.com/u/1191123?v=3","gravatar_id":"","url":"https://api.github.com/users/TheCodingGent","html_url":"https://github.com/TheCodingGent","followers_url":"https://api.github.com/users/TheCodingGent/followers","following_url":"https://api.github.com/users/TheCodingGent/following{/other_user}","gists_url":"https://api.github.com/users/TheCodingGent/gists{/gist_id}","starred_url":"https://api.github.com/users/TheCodingGent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheCodingGent/subscriptions","organizations_url":"https://api.github.com/users/TheCodingGent/orgs","repos_url":"https://api.github.com/users/TheCodingGent/repos","events_url":"https://api.github.com/users/TheCodingGent/events{/privacy}","received_events_url":"https://api.github.com/users/TheCodingGent/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TheCodingGent/habits","description":"An Android application for tracking habits; developing new habits or getting rid of old bad ones.","fork":false,"url":"https://api.github.com/repos/TheCodingGent/habits","forks_url":"https://api.github.com/repos/TheCodingGent/habits/forks","keys_url":"https://api.github.com/repos/TheCodingGent/habits/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TheCodingGent/habits/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TheCodingGent/habits/teams","hooks_url":"https://api.github.com/repos/TheCodingGent/habits/hooks","issue_events_url":"https://api.github.com/repos/TheCodingGent/habits/issues/events{/number}","events_url":"https://api.github.com/repos/TheCodingGent/habits/events","assignees_url":"https://api.github.com/repos/TheCodingGent/habits/assignees{/user}","branches_url":"https://api.github.com/repos/TheCodingGent/habits/branches{/branch}","tags_url":"https://api.github.com/repos/TheCodingGent/habits/tags","blobs_url":"https://api.github.com/repos/TheCodingGent/habits/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TheCodingGent/habits/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TheCodingGent/habits/git/refs{/sha}","trees_url":"https://api.github.com/repos/TheCodingGent/habits/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TheCodingGent/habits/statuses/{sha}","languages_url":"https://api.github.com/repos/TheCodingGent/habits/languages","stargazers_url":"https://api.github.com/repos/TheCodingGent/habits/stargazers","contributors_url":"https://api.github.com/repos/TheCodingGent/habits/contributors","subscribers_url":"https://api.github.com/repos/TheCodingGent/habits/subscribers","subscription_url":"https://api.github.com/repos/TheCodingGent/habits/subscription","commits_url":"https://api.github.com/repos/TheCodingGent/habits/commits{/sha}","git_commits_url":"https://api.github.com/repos/TheCodingGent/habits/git/commits{/sha}","comments_url":"https://api.github.com/repos/TheCodingGent/habits/comments{/number}","issue_comment_url":"https://api.github.com/repos/TheCodingGent/habits/issues/comments{/number}","contents_url":"https://api.github.com/repos/TheCodingGent/habits/contents/{+path}","compare_url":"https://api.github.com/repos/TheCodingGent/habits/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TheCodingGent/habits/merges","archive_url":"https://api.github.com/repos/TheCodingGent/habits/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TheCodingGent/habits/downloads","issues_url":"https://api.github.com/repos/TheCodingGent/habits/issues{/number}","pulls_url":"https://api.github.com/repos/TheCodingGent/habits/pulls{/number}","milestones_url":"https://api.github.com/repos/TheCodingGent/habits/milestones{/number}","notifications_url":"https://api.github.com/repos/TheCodingGent/habits/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TheCodingGent/habits/labels{/name}","releases_url":"https://api.github.com/repos/TheCodingGent/habits/releases{/id}","deployments_url":"https://api.github.com/repos/TheCodingGent/habits/deployments","created_at":"2016-05-06T14:29:34Z","updated_at":"2016-05-06T14:38:28Z","pushed_at":"2016-05-08T04:13:16Z","git_url":"git://github.com/TheCodingGent/habits.git","ssh_url":"git@github.com:TheCodingGent/habits.git","clone_url":"https://github.com/TheCodingGent/habits.git","svn_url":"https://github.com/TheCodingGent/habits","homepage":null,"size":13788,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TheCodingGent/habits/pulls/4"},"html":{"href":"https://github.com/TheCodingGent/habits/pull/4"},"issue":{"href":"https://api.github.com/repos/TheCodingGent/habits/issues/4"},"comments":{"href":"https://api.github.com/repos/TheCodingGent/habits/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/TheCodingGent/habits/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/TheCodingGent/habits/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TheCodingGent/habits/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/TheCodingGent/habits/statuses/f86f5c9b2fe8e79adce8f819310642d0f83f84b2"}}}}