{"action":"created","comment":{"url":"https://api.github.com/repos/TonyTewsAngels/Dev/pulls/comments/24297643","id":24297643,"diff_hunk":"@@ -0,0 +1,55 @@\n+/*\r\n+ * Sam Raeburn\r\n+ * Sam Hall\r\n+ * Copyright (c) 2015 Sofia Software Solutions. All Rights Reserved.\r\n+ */\r\n+package teacheasy.data;\r\n+\r\n+/**\r\n+ * Class for holding answer box data\r\n+ * @author sr896 and sh1157\r\n+ *\r\n+ */\r\n+public class AnswerBoxData extends PageObject {\r\n+\tint characterLimit, marks;\r\n+\tString correctAnswers;\r\n+\tboolean retry;\r\n+\t\r\n+\tpublic int getCharacterLimit() {\r\n+\t\treturn characterLimit;\r\n+\t}\r\n+\r\n+\tpublic void setCharacterLimit(int characterLimit) {\r\n+\t\tthis.characterLimit = characterLimit;\r\n+\t}\r\n+\r\n+\tpublic int getMarks() {\r\n+\t\treturn marks;\r\n+\t}\r\n+\r\n+\tpublic void setMarks(int marks) {\r\n+\t\tthis.marks = marks;\r\n+\t}\r\n+\r\n+\tpublic String getCorrectAnswers() {\r\n+\t\treturn correctAnswers;\r\n+\t}\r\n+\r\n+\tpublic void setCorrectAnswers(String correctAnswers) {\r\n+\t\tthis.correctAnswers = correctAnswers;\r\n+\t}\r\n+\r\n+\tpublic boolean isRetry() {\r\n+\t\treturn retry;\r\n+\t}\r\n+\r\n+\r\n+\tpublic void setRetry(boolean retry) {\r\n+\t\tthis.retry = retry;\r\n+\t}\r\n+\r\n+\tpublic AnswerBoxData(PageObjectType nType, float nXStart, float nYStart) {\r","path":"TeachEasy/src/teacheasy/data/AnswerBoxData.java","position":51,"original_position":51,"commit_id":"9e99a0c1ba9c862b27fcd68d645614b68ae6a758","original_commit_id":"9e99a0c1ba9c862b27fcd68d645614b68ae6a758","user":{"login":"ajewers","id":6303092,"avatar_url":"https://avatars.githubusercontent.com/u/6303092?v=3","gravatar_id":"","url":"https://api.github.com/users/ajewers","html_url":"https://github.com/ajewers","followers_url":"https://api.github.com/users/ajewers/followers","following_url":"https://api.github.com/users/ajewers/following{/other_user}","gists_url":"https://api.github.com/users/ajewers/gists{/gist_id}","starred_url":"https://api.github.com/users/ajewers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajewers/subscriptions","organizations_url":"https://api.github.com/users/ajewers/orgs","repos_url":"https://api.github.com/users/ajewers/repos","events_url":"https://api.github.com/users/ajewers/events{/privacy}","received_events_url":"https://api.github.com/users/ajewers/received_events","type":"User","site_admin":false},"body":"Constructor should include parameters for initial values for all class variables to avoid null pointer exceptions.","created_at":"2015-02-08T10:45:51Z","updated_at":"2015-02-08T10:45:51Z","html_url":"https://github.com/TonyTewsAngels/Dev/pull/5#discussion_r24297643","pull_request_url":"https://api.github.com/repos/TonyTewsAngels/Dev/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/TonyTewsAngels/Dev/pulls/comments/24297643"},"html":{"href":"https://github.com/TonyTewsAngels/Dev/pull/5#discussion_r24297643"},"pull_request":{"href":"https://api.github.com/repos/TonyTewsAngels/Dev/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/TonyTewsAngels/Dev/pulls/5","id":28741438,"html_url":"https://github.com/TonyTewsAngels/Dev/pull/5","diff_url":"https://github.com/TonyTewsAngels/Dev/pull/5.diff","patch_url":"https://github.com/TonyTewsAngels/Dev/pull/5.patch","issue_url":"https://api.github.com/repos/TonyTewsAngels/Dev/issues/5","number":5,"state":"open","locked":false,"title":"Created class and getters setters for answer box","user":{"login":"SamRaeburn","id":10668587,"avatar_url":"https://avatars.githubusercontent.com/u/10668587?v=3","gravatar_id":"","url":"https://api.github.com/users/SamRaeburn","html_url":"https://github.com/SamRaeburn","followers_url":"https://api.github.com/users/SamRaeburn/followers","following_url":"https://api.github.com/users/SamRaeburn/following{/other_user}","gists_url":"https://api.github.com/users/SamRaeburn/gists{/gist_id}","starred_url":"https://api.github.com/users/SamRaeburn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamRaeburn/subscriptions","organizations_url":"https://api.github.com/users/SamRaeburn/orgs","repos_url":"https://api.github.com/users/SamRaeburn/repos","events_url":"https://api.github.com/users/SamRaeburn/events{/privacy}","received_events_url":"https://api.github.com/users/SamRaeburn/received_events","type":"User","site_admin":false},"body":"Class to hold variable data for the answer box object type\r\n\r\nSigned-off-by: sr896 <sr896@ELCLASS21.its.york.ac.uk> and sh1157","created_at":"2015-02-05T16:59:52Z","updated_at":"2015-02-08T10:45:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eadbe927565fb5793b1842e1d822a5e95b3182cd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TonyTewsAngels/Dev/pulls/5/commits","review_comments_url":"https://api.github.com/repos/TonyTewsAngels/Dev/pulls/5/comments","review_comment_url":"https://api.github.com/repos/TonyTewsAngels/Dev/pulls/comments/{number}","comments_url":"https://api.github.com/repos/TonyTewsAngels/Dev/issues/5/comments","statuses_url":"https://api.github.com/repos/TonyTewsAngels/Dev/statuses/9e99a0c1ba9c862b27fcd68d645614b68ae6a758","head":{"label":"TonyTewsAngels:AnswerBoxData","ref":"AnswerBoxData","sha":"9e99a0c1ba9c862b27fcd68d645614b68ae6a758","user":{"login":"TonyTewsAngels","id":10668489,"avatar_url":"https://avatars.githubusercontent.com/u/10668489?v=3","gravatar_id":"","url":"https://api.github.com/users/TonyTewsAngels","html_url":"https://github.com/TonyTewsAngels","followers_url":"https://api.github.com/users/TonyTewsAngels/followers","following_url":"https://api.github.com/users/TonyTewsAngels/following{/other_user}","gists_url":"https://api.github.com/users/TonyTewsAngels/gists{/gist_id}","starred_url":"https://api.github.com/users/TonyTewsAngels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TonyTewsAngels/subscriptions","organizations_url":"https://api.github.com/users/TonyTewsAngels/orgs","repos_url":"https://api.github.com/users/TonyTewsAngels/repos","events_url":"https://api.github.com/users/TonyTewsAngels/events{/privacy}","received_events_url":"https://api.github.com/users/TonyTewsAngels/received_events","type":"Organization","site_admin":false},"repo":{"id":29727900,"name":"Dev","full_name":"TonyTewsAngels/Dev","owner":{"login":"TonyTewsAngels","id":10668489,"avatar_url":"https://avatars.githubusercontent.com/u/10668489?v=3","gravatar_id":"","url":"https://api.github.com/users/TonyTewsAngels","html_url":"https://github.com/TonyTewsAngels","followers_url":"https://api.github.com/users/TonyTewsAngels/followers","following_url":"https://api.github.com/users/TonyTewsAngels/following{/other_user}","gists_url":"https://api.github.com/users/TonyTewsAngels/gists{/gist_id}","starred_url":"https://api.github.com/users/TonyTewsAngels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TonyTewsAngels/subscriptions","organizations_url":"https://api.github.com/users/TonyTewsAngels/orgs","repos_url":"https://api.github.com/users/TonyTewsAngels/repos","events_url":"https://api.github.com/users/TonyTewsAngels/events{/privacy}","received_events_url":"https://api.github.com/users/TonyTewsAngels/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TonyTewsAngels/Dev","description":"Repository for active development ","fork":false,"url":"https://api.github.com/repos/TonyTewsAngels/Dev","forks_url":"https://api.github.com/repos/TonyTewsAngels/Dev/forks","keys_url":"https://api.github.com/repos/TonyTewsAngels/Dev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TonyTewsAngels/Dev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TonyTewsAngels/Dev/teams","hooks_url":"https://api.github.com/repos/TonyTewsAngels/Dev/hooks","issue_events_url":"https://api.github.com/repos/TonyTewsAngels/Dev/issues/events{/number}","events_url":"https://api.github.com/repos/TonyTewsAngels/Dev/events","assignees_url":"https://api.github.com/repos/TonyTewsAngels/Dev/assignees{/user}","branches_url":"https://api.github.com/repos/TonyTewsAngels/Dev/branches{/branch}","tags_url":"https://api.github.com/repos/TonyTewsAngels/Dev/tags","blobs_url":"https://api.github.com/repos/TonyTewsAngels/Dev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TonyTewsAngels/Dev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TonyTewsAngels/Dev/git/refs{/sha}","trees_url":"https://api.github.com/repos/TonyTewsAngels/Dev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TonyTewsAngels/Dev/statuses/{sha}","languages_url":"https://api.github.com/repos/TonyTewsAngels/Dev/languages","stargazers_url":"https://api.github.com/repos/TonyTewsAngels/Dev/stargazers","contributors_url":"https://api.github.com/repos/TonyTewsAngels/Dev/contributors","subscribers_url":"https://api.github.com/repos/TonyTewsAngels/Dev/subscribers","subscription_url":"https://api.github.com/repos/TonyTewsAngels/Dev/subscription","commits_url":"https://api.github.com/repos/TonyTewsAngels/Dev/commits{/sha}","git_commits_url":"https://api.github.com/repos/TonyTewsAngels/Dev/git/commits{/sha}","comments_url":"https://api.github.com/repos/TonyTewsAngels/Dev/comments{/number}","issue_comment_url":"https://api.github.com/repos/TonyTewsAngels/Dev/issues/comments/{number}","contents_url":"https://api.github.com/repos/TonyTewsAngels/Dev/contents/{+path}","compare_url":"https://api.github.com/repos/TonyTewsAngels/Dev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TonyTewsAngels/Dev/merges","archive_url":"https://api.github.com/repos/TonyTewsAngels/Dev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TonyTewsAngels/Dev/downloads","issues_url":"https://api.github.com/repos/TonyTewsAngels/Dev/issues{/number}","pulls_url":"https://api.github.com/repos/TonyTewsAngels/Dev/pulls{/number}","milestones_url":"https://api.github.com/repos/TonyTewsAngels/Dev/milestones{/number}","notifications_url":"https://api.github.com/repos/TonyTewsAngels/Dev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TonyTewsAngels/Dev/labels{/name}","releases_url":"https://api.github.com/repos/TonyTewsAngels/Dev/releases{/id}","created_at":"2015-01-23T10:25:30Z","updated_at":"2015-02-07T15:20:11Z","pushed_at":"2015-02-07T16:55:12Z","git_url":"git://github.com/TonyTewsAngels/Dev.git","ssh_url":"git@github.com:TonyTewsAngels/Dev.git","clone_url":"https://github.com/TonyTewsAngels/Dev.git","svn_url":"https://github.com/TonyTewsAngels/Dev","homepage":null,"size":440,"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":14,"forks":0,"open_issues":14,"watchers":1,"default_branch":"master"}},"base":{"label":"TonyTewsAngels:master","ref":"master","sha":"e9121854ffa5e4cc883747d08bbc887bf268dc98","user":{"login":"TonyTewsAngels","id":10668489,"avatar_url":"https://avatars.githubusercontent.com/u/10668489?v=3","gravatar_id":"","url":"https://api.github.com/users/TonyTewsAngels","html_url":"https://github.com/TonyTewsAngels","followers_url":"https://api.github.com/users/TonyTewsAngels/followers","following_url":"https://api.github.com/users/TonyTewsAngels/following{/other_user}","gists_url":"https://api.github.com/users/TonyTewsAngels/gists{/gist_id}","starred_url":"https://api.github.com/users/TonyTewsAngels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TonyTewsAngels/subscriptions","organizations_url":"https://api.github.com/users/TonyTewsAngels/orgs","repos_url":"https://api.github.com/users/TonyTewsAngels/repos","events_url":"https://api.github.com/users/TonyTewsAngels/events{/privacy}","received_events_url":"https://api.github.com/users/TonyTewsAngels/received_events","type":"Organization","site_admin":false},"repo":{"id":29727900,"name":"Dev","full_name":"TonyTewsAngels/Dev","owner":{"login":"TonyTewsAngels","id":10668489,"avatar_url":"https://avatars.githubusercontent.com/u/10668489?v=3","gravatar_id":"","url":"https://api.github.com/users/TonyTewsAngels","html_url":"https://github.com/TonyTewsAngels","followers_url":"https://api.github.com/users/TonyTewsAngels/followers","following_url":"https://api.github.com/users/TonyTewsAngels/following{/other_user}","gists_url":"https://api.github.com/users/TonyTewsAngels/gists{/gist_id}","starred_url":"https://api.github.com/users/TonyTewsAngels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TonyTewsAngels/subscriptions","organizations_url":"https://api.github.com/users/TonyTewsAngels/orgs","repos_url":"https://api.github.com/users/TonyTewsAngels/repos","events_url":"https://api.github.com/users/TonyTewsAngels/events{/privacy}","received_events_url":"https://api.github.com/users/TonyTewsAngels/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TonyTewsAngels/Dev","description":"Repository for active development ","fork":false,"url":"https://api.github.com/repos/TonyTewsAngels/Dev","forks_url":"https://api.github.com/repos/TonyTewsAngels/Dev/forks","keys_url":"https://api.github.com/repos/TonyTewsAngels/Dev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TonyTewsAngels/Dev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TonyTewsAngels/Dev/teams","hooks_url":"https://api.github.com/repos/TonyTewsAngels/Dev/hooks","issue_events_url":"https://api.github.com/repos/TonyTewsAngels/Dev/issues/events{/number}","events_url":"https://api.github.com/repos/TonyTewsAngels/Dev/events","assignees_url":"https://api.github.com/repos/TonyTewsAngels/Dev/assignees{/user}","branches_url":"https://api.github.com/repos/TonyTewsAngels/Dev/branches{/branch}","tags_url":"https://api.github.com/repos/TonyTewsAngels/Dev/tags","blobs_url":"https://api.github.com/repos/TonyTewsAngels/Dev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TonyTewsAngels/Dev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TonyTewsAngels/Dev/git/refs{/sha}","trees_url":"https://api.github.com/repos/TonyTewsAngels/Dev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TonyTewsAngels/Dev/statuses/{sha}","languages_url":"https://api.github.com/repos/TonyTewsAngels/Dev/languages","stargazers_url":"https://api.github.com/repos/TonyTewsAngels/Dev/stargazers","contributors_url":"https://api.github.com/repos/TonyTewsAngels/Dev/contributors","subscribers_url":"https://api.github.com/repos/TonyTewsAngels/Dev/subscribers","subscription_url":"https://api.github.com/repos/TonyTewsAngels/Dev/subscription","commits_url":"https://api.github.com/repos/TonyTewsAngels/Dev/commits{/sha}","git_commits_url":"https://api.github.com/repos/TonyTewsAngels/Dev/git/commits{/sha}","comments_url":"https://api.github.com/repos/TonyTewsAngels/Dev/comments{/number}","issue_comment_url":"https://api.github.com/repos/TonyTewsAngels/Dev/issues/comments/{number}","contents_url":"https://api.github.com/repos/TonyTewsAngels/Dev/contents/{+path}","compare_url":"https://api.github.com/repos/TonyTewsAngels/Dev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TonyTewsAngels/Dev/merges","archive_url":"https://api.github.com/repos/TonyTewsAngels/Dev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TonyTewsAngels/Dev/downloads","issues_url":"https://api.github.com/repos/TonyTewsAngels/Dev/issues{/number}","pulls_url":"https://api.github.com/repos/TonyTewsAngels/Dev/pulls{/number}","milestones_url":"https://api.github.com/repos/TonyTewsAngels/Dev/milestones{/number}","notifications_url":"https://api.github.com/repos/TonyTewsAngels/Dev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TonyTewsAngels/Dev/labels{/name}","releases_url":"https://api.github.com/repos/TonyTewsAngels/Dev/releases{/id}","created_at":"2015-01-23T10:25:30Z","updated_at":"2015-02-07T15:20:11Z","pushed_at":"2015-02-07T16:55:12Z","git_url":"git://github.com/TonyTewsAngels/Dev.git","ssh_url":"git@github.com:TonyTewsAngels/Dev.git","clone_url":"https://github.com/TonyTewsAngels/Dev.git","svn_url":"https://github.com/TonyTewsAngels/Dev","homepage":null,"size":440,"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":14,"forks":0,"open_issues":14,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TonyTewsAngels/Dev/pulls/5"},"html":{"href":"https://github.com/TonyTewsAngels/Dev/pull/5"},"issue":{"href":"https://api.github.com/repos/TonyTewsAngels/Dev/issues/5"},"comments":{"href":"https://api.github.com/repos/TonyTewsAngels/Dev/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/TonyTewsAngels/Dev/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/TonyTewsAngels/Dev/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/TonyTewsAngels/Dev/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/TonyTewsAngels/Dev/statuses/9e99a0c1ba9c862b27fcd68d645614b68ae6a758"}}}}