{"action":"created","comment":{"url":"https://api.github.com/repos/clouway-incubator/exceptions/pulls/comments/43848483","id":43848483,"diff_hunk":"@@ -0,0 +1,24 @@\n+package sumator;\n+\n+import com.sun.org.apache.xpath.internal.SourceTree;\n+\n+/**\n+ * @author Stanislava Kaukova(sisiivanovva@gmail.com)\n+ */\n+public class sumString {\n+  public void sum(String a, String b) {\n+    try {\n+      int x = Integer.parseInt(a);\n+      int y = Integer.parseInt(b);\n+      int sum = x + y;\n+      System.out.println(\"The sum of number is:\" + sum);","path":"src/sumator/sumString.java","position":14,"original_position":14,"commit_id":"0735649c36e12109f09774b8f09705ef0f3b9c89","original_commit_id":"0735649c36e12109f09774b8f09705ef0f3b9c89","user":{"login":"mgenov","id":209223,"avatar_url":"https://avatars.githubusercontent.com/u/209223?v=3","gravatar_id":"","url":"https://api.github.com/users/mgenov","html_url":"https://github.com/mgenov","followers_url":"https://api.github.com/users/mgenov/followers","following_url":"https://api.github.com/users/mgenov/following{/other_user}","gists_url":"https://api.github.com/users/mgenov/gists{/gist_id}","starred_url":"https://api.github.com/users/mgenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgenov/subscriptions","organizations_url":"https://api.github.com/users/mgenov/orgs","repos_url":"https://api.github.com/users/mgenov/repos","events_url":"https://api.github.com/users/mgenov/events{/privacy}","received_events_url":"https://api.github.com/users/mgenov/received_events","type":"User","site_admin":false},"body":"If you follow the rule for \"Print\" statements, you will be forced to change signature of sum method to return number value. ","created_at":"2015-11-04T07:02:31Z","updated_at":"2015-11-04T07:02:31Z","html_url":"https://github.com/clouway-incubator/exceptions/pull/2#discussion_r43848483","pull_request_url":"https://api.github.com/repos/clouway-incubator/exceptions/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/exceptions/pulls/comments/43848483"},"html":{"href":"https://github.com/clouway-incubator/exceptions/pull/2#discussion_r43848483"},"pull_request":{"href":"https://api.github.com/repos/clouway-incubator/exceptions/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/clouway-incubator/exceptions/pulls/2","id":49654686,"html_url":"https://github.com/clouway-incubator/exceptions/pull/2","diff_url":"https://github.com/clouway-incubator/exceptions/pull/2.diff","patch_url":"https://github.com/clouway-incubator/exceptions/pull/2.patch","issue_url":"https://api.github.com/repos/clouway-incubator/exceptions/issues/2","number":2,"state":"open","locked":false,"title":"Sumator","user":{"login":"Stanislava88","id":8342103,"avatar_url":"https://avatars.githubusercontent.com/u/8342103?v=3","gravatar_id":"","url":"https://api.github.com/users/Stanislava88","html_url":"https://github.com/Stanislava88","followers_url":"https://api.github.com/users/Stanislava88/followers","following_url":"https://api.github.com/users/Stanislava88/following{/other_user}","gists_url":"https://api.github.com/users/Stanislava88/gists{/gist_id}","starred_url":"https://api.github.com/users/Stanislava88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stanislava88/subscriptions","organizations_url":"https://api.github.com/users/Stanislava88/orgs","repos_url":"https://api.github.com/users/Stanislava88/repos","events_url":"https://api.github.com/users/Stanislava88/events{/privacy}","received_events_url":"https://api.github.com/users/Stanislava88/received_events","type":"User","site_admin":false},"body":"first task invalid input exception","created_at":"2015-11-04T07:00:03Z","updated_at":"2015-11-04T07:02:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cd35e15d2e8046bf0590135918903a78c83cccd7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/clouway-incubator/exceptions/pulls/2/commits","review_comments_url":"https://api.github.com/repos/clouway-incubator/exceptions/pulls/2/comments","review_comment_url":"https://api.github.com/repos/clouway-incubator/exceptions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clouway-incubator/exceptions/issues/2/comments","statuses_url":"https://api.github.com/repos/clouway-incubator/exceptions/statuses/0735649c36e12109f09774b8f09705ef0f3b9c89","head":{"label":"Stanislava88:sumator","ref":"sumator","sha":"0735649c36e12109f09774b8f09705ef0f3b9c89","user":{"login":"Stanislava88","id":8342103,"avatar_url":"https://avatars.githubusercontent.com/u/8342103?v=3","gravatar_id":"","url":"https://api.github.com/users/Stanislava88","html_url":"https://github.com/Stanislava88","followers_url":"https://api.github.com/users/Stanislava88/followers","following_url":"https://api.github.com/users/Stanislava88/following{/other_user}","gists_url":"https://api.github.com/users/Stanislava88/gists{/gist_id}","starred_url":"https://api.github.com/users/Stanislava88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stanislava88/subscriptions","organizations_url":"https://api.github.com/users/Stanislava88/orgs","repos_url":"https://api.github.com/users/Stanislava88/repos","events_url":"https://api.github.com/users/Stanislava88/events{/privacy}","received_events_url":"https://api.github.com/users/Stanislava88/received_events","type":"User","site_admin":false},"repo":{"id":45474102,"name":"exceptions","full_name":"Stanislava88/exceptions","owner":{"login":"Stanislava88","id":8342103,"avatar_url":"https://avatars.githubusercontent.com/u/8342103?v=3","gravatar_id":"","url":"https://api.github.com/users/Stanislava88","html_url":"https://github.com/Stanislava88","followers_url":"https://api.github.com/users/Stanislava88/followers","following_url":"https://api.github.com/users/Stanislava88/following{/other_user}","gists_url":"https://api.github.com/users/Stanislava88/gists{/gist_id}","starred_url":"https://api.github.com/users/Stanislava88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stanislava88/subscriptions","organizations_url":"https://api.github.com/users/Stanislava88/orgs","repos_url":"https://api.github.com/users/Stanislava88/repos","events_url":"https://api.github.com/users/Stanislava88/events{/privacy}","received_events_url":"https://api.github.com/users/Stanislava88/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Stanislava88/exceptions","description":"Tasks for Exceptions ","fork":true,"url":"https://api.github.com/repos/Stanislava88/exceptions","forks_url":"https://api.github.com/repos/Stanislava88/exceptions/forks","keys_url":"https://api.github.com/repos/Stanislava88/exceptions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Stanislava88/exceptions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Stanislava88/exceptions/teams","hooks_url":"https://api.github.com/repos/Stanislava88/exceptions/hooks","issue_events_url":"https://api.github.com/repos/Stanislava88/exceptions/issues/events{/number}","events_url":"https://api.github.com/repos/Stanislava88/exceptions/events","assignees_url":"https://api.github.com/repos/Stanislava88/exceptions/assignees{/user}","branches_url":"https://api.github.com/repos/Stanislava88/exceptions/branches{/branch}","tags_url":"https://api.github.com/repos/Stanislava88/exceptions/tags","blobs_url":"https://api.github.com/repos/Stanislava88/exceptions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Stanislava88/exceptions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Stanislava88/exceptions/git/refs{/sha}","trees_url":"https://api.github.com/repos/Stanislava88/exceptions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Stanislava88/exceptions/statuses/{sha}","languages_url":"https://api.github.com/repos/Stanislava88/exceptions/languages","stargazers_url":"https://api.github.com/repos/Stanislava88/exceptions/stargazers","contributors_url":"https://api.github.com/repos/Stanislava88/exceptions/contributors","subscribers_url":"https://api.github.com/repos/Stanislava88/exceptions/subscribers","subscription_url":"https://api.github.com/repos/Stanislava88/exceptions/subscription","commits_url":"https://api.github.com/repos/Stanislava88/exceptions/commits{/sha}","git_commits_url":"https://api.github.com/repos/Stanislava88/exceptions/git/commits{/sha}","comments_url":"https://api.github.com/repos/Stanislava88/exceptions/comments{/number}","issue_comment_url":"https://api.github.com/repos/Stanislava88/exceptions/issues/comments{/number}","contents_url":"https://api.github.com/repos/Stanislava88/exceptions/contents/{+path}","compare_url":"https://api.github.com/repos/Stanislava88/exceptions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Stanislava88/exceptions/merges","archive_url":"https://api.github.com/repos/Stanislava88/exceptions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Stanislava88/exceptions/downloads","issues_url":"https://api.github.com/repos/Stanislava88/exceptions/issues{/number}","pulls_url":"https://api.github.com/repos/Stanislava88/exceptions/pulls{/number}","milestones_url":"https://api.github.com/repos/Stanislava88/exceptions/milestones{/number}","notifications_url":"https://api.github.com/repos/Stanislava88/exceptions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Stanislava88/exceptions/labels{/name}","releases_url":"https://api.github.com/repos/Stanislava88/exceptions/releases{/id}","created_at":"2015-11-03T15:02:40Z","updated_at":"2015-11-03T15:27:51Z","pushed_at":"2015-11-04T06:56:41Z","git_url":"git://github.com/Stanislava88/exceptions.git","ssh_url":"git@github.com:Stanislava88/exceptions.git","clone_url":"https://github.com/Stanislava88/exceptions.git","svn_url":"https://github.com/Stanislava88/exceptions","homepage":null,"size":82,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"clouway-incubator:stanislava","ref":"stanislava","sha":"b9626131d3bcfa88e20fcae624b48cf884ac82f6","user":{"login":"clouway-incubator","id":10173098,"avatar_url":"https://avatars.githubusercontent.com/u/10173098?v=3","gravatar_id":"","url":"https://api.github.com/users/clouway-incubator","html_url":"https://github.com/clouway-incubator","followers_url":"https://api.github.com/users/clouway-incubator/followers","following_url":"https://api.github.com/users/clouway-incubator/following{/other_user}","gists_url":"https://api.github.com/users/clouway-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/clouway-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouway-incubator/subscriptions","organizations_url":"https://api.github.com/users/clouway-incubator/orgs","repos_url":"https://api.github.com/users/clouway-incubator/repos","events_url":"https://api.github.com/users/clouway-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/clouway-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":32514464,"name":"exceptions","full_name":"clouway-incubator/exceptions","owner":{"login":"clouway-incubator","id":10173098,"avatar_url":"https://avatars.githubusercontent.com/u/10173098?v=3","gravatar_id":"","url":"https://api.github.com/users/clouway-incubator","html_url":"https://github.com/clouway-incubator","followers_url":"https://api.github.com/users/clouway-incubator/followers","following_url":"https://api.github.com/users/clouway-incubator/following{/other_user}","gists_url":"https://api.github.com/users/clouway-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/clouway-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouway-incubator/subscriptions","organizations_url":"https://api.github.com/users/clouway-incubator/orgs","repos_url":"https://api.github.com/users/clouway-incubator/repos","events_url":"https://api.github.com/users/clouway-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/clouway-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clouway-incubator/exceptions","description":"Tasks for Exceptions ","fork":false,"url":"https://api.github.com/repos/clouway-incubator/exceptions","forks_url":"https://api.github.com/repos/clouway-incubator/exceptions/forks","keys_url":"https://api.github.com/repos/clouway-incubator/exceptions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clouway-incubator/exceptions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clouway-incubator/exceptions/teams","hooks_url":"https://api.github.com/repos/clouway-incubator/exceptions/hooks","issue_events_url":"https://api.github.com/repos/clouway-incubator/exceptions/issues/events{/number}","events_url":"https://api.github.com/repos/clouway-incubator/exceptions/events","assignees_url":"https://api.github.com/repos/clouway-incubator/exceptions/assignees{/user}","branches_url":"https://api.github.com/repos/clouway-incubator/exceptions/branches{/branch}","tags_url":"https://api.github.com/repos/clouway-incubator/exceptions/tags","blobs_url":"https://api.github.com/repos/clouway-incubator/exceptions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clouway-incubator/exceptions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clouway-incubator/exceptions/git/refs{/sha}","trees_url":"https://api.github.com/repos/clouway-incubator/exceptions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clouway-incubator/exceptions/statuses/{sha}","languages_url":"https://api.github.com/repos/clouway-incubator/exceptions/languages","stargazers_url":"https://api.github.com/repos/clouway-incubator/exceptions/stargazers","contributors_url":"https://api.github.com/repos/clouway-incubator/exceptions/contributors","subscribers_url":"https://api.github.com/repos/clouway-incubator/exceptions/subscribers","subscription_url":"https://api.github.com/repos/clouway-incubator/exceptions/subscription","commits_url":"https://api.github.com/repos/clouway-incubator/exceptions/commits{/sha}","git_commits_url":"https://api.github.com/repos/clouway-incubator/exceptions/git/commits{/sha}","comments_url":"https://api.github.com/repos/clouway-incubator/exceptions/comments{/number}","issue_comment_url":"https://api.github.com/repos/clouway-incubator/exceptions/issues/comments{/number}","contents_url":"https://api.github.com/repos/clouway-incubator/exceptions/contents/{+path}","compare_url":"https://api.github.com/repos/clouway-incubator/exceptions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clouway-incubator/exceptions/merges","archive_url":"https://api.github.com/repos/clouway-incubator/exceptions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clouway-incubator/exceptions/downloads","issues_url":"https://api.github.com/repos/clouway-incubator/exceptions/issues{/number}","pulls_url":"https://api.github.com/repos/clouway-incubator/exceptions/pulls{/number}","milestones_url":"https://api.github.com/repos/clouway-incubator/exceptions/milestones{/number}","notifications_url":"https://api.github.com/repos/clouway-incubator/exceptions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clouway-incubator/exceptions/labels{/name}","releases_url":"https://api.github.com/repos/clouway-incubator/exceptions/releases{/id}","created_at":"2015-03-19T10:14:53Z","updated_at":"2015-03-19T10:14:53Z","pushed_at":"2015-11-04T07:00:04Z","git_url":"git://github.com/clouway-incubator/exceptions.git","ssh_url":"git@github.com:clouway-incubator/exceptions.git","clone_url":"https://github.com/clouway-incubator/exceptions.git","svn_url":"https://github.com/clouway-incubator/exceptions","homepage":null,"size":112,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clouway-incubator/exceptions/pulls/2"},"html":{"href":"https://github.com/clouway-incubator/exceptions/pull/2"},"issue":{"href":"https://api.github.com/repos/clouway-incubator/exceptions/issues/2"},"comments":{"href":"https://api.github.com/repos/clouway-incubator/exceptions/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/clouway-incubator/exceptions/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/clouway-incubator/exceptions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clouway-incubator/exceptions/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/clouway-incubator/exceptions/statuses/0735649c36e12109f09774b8f09705ef0f3b9c89"}}}}