{"action":"created","comment":{"url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/comments/228749746","pull_request_review_id":169093609,"id":228749746,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyODc0OTc0Ng==","diff_hunk":"@@ -0,0 +1,98 @@\n+package ru.unn.agile.stringcalculator.model;\n+\n+import ru.unn.agile.stringcalculator.model.errorhandling.NegativeNumberException;\n+import ru.unn.agile.stringcalculator.model.errorhandling.NotANumberException;\n+\n+import java.util.ArrayList;\n+import java.util.Arrays;\n+import java.util.List;\n+import java.util.regex.Matcher;\n+import java.util.regex.Pattern;\n+\n+public final class StringCalculator {\n+    private static final String DELIMITER_PATTERN = \"(?s)^([^0-9])\\\\n.*\";\n+    private static final String VALID_NUMBER_PATTERN = \"^-?[0-9]+\";\n+    private static final String DEFAULT_DELIMITER = \",\";\n+    private static final String NEW_LINE_DELIMITER = \"\\n\";\n+    private static final char MINUS_SIGN = '-';\n+\n+    private StringCalculator() {\n+","path":"code/string-calculator/src/main/java/ru/unn/agile/stringcalculator/model/StringCalculator.java","position":20,"original_position":20,"commit_id":"7c237c420382bef457faea428eda69164c273360","original_commit_id":"7c237c420382bef457faea428eda69164c273360","user":{"login":"zhiltsov-max","id":13832349,"node_id":"MDQ6VXNlcjEzODMyMzQ5","avatar_url":"https://avatars0.githubusercontent.com/u/13832349?v=4","gravatar_id":"","url":"https://api.github.com/users/zhiltsov-max","html_url":"https://github.com/zhiltsov-max","followers_url":"https://api.github.com/users/zhiltsov-max/followers","following_url":"https://api.github.com/users/zhiltsov-max/following{/other_user}","gists_url":"https://api.github.com/users/zhiltsov-max/gists{/gist_id}","starred_url":"https://api.github.com/users/zhiltsov-max/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhiltsov-max/subscriptions","organizations_url":"https://api.github.com/users/zhiltsov-max/orgs","repos_url":"https://api.github.com/users/zhiltsov-max/repos","events_url":"https://api.github.com/users/zhiltsov-max/events{/privacy}","received_events_url":"https://api.github.com/users/zhiltsov-max/received_events","type":"User","site_admin":false},"body":"Стоит отметить, что тело метода пустое не случайно. Рекомендую комментарий `/* none */`.","created_at":"2018-10-28T14:00:10Z","updated_at":"2018-10-28T14:48:47Z","html_url":"https://github.com/UNN-VMK-Software/agile-course-practice/pull/47#discussion_r228749746","pull_request_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/47","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/comments/228749746"},"html":{"href":"https://github.com/UNN-VMK-Software/agile-course-practice/pull/47#discussion_r228749746"},"pull_request":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/47","id":226306845,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MzA2ODQ1","html_url":"https://github.com/UNN-VMK-Software/agile-course-practice/pull/47","diff_url":"https://github.com/UNN-VMK-Software/agile-course-practice/pull/47.diff","patch_url":"https://github.com/UNN-VMK-Software/agile-course-practice/pull/47.patch","issue_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues/47","number":47,"state":"open","locked":false,"title":"Магазинник -- Лабораторная работа #1","user":{"login":"MagazinnikIvan","id":14889089,"node_id":"MDQ6VXNlcjE0ODg5MDg5","avatar_url":"https://avatars2.githubusercontent.com/u/14889089?v=4","gravatar_id":"","url":"https://api.github.com/users/MagazinnikIvan","html_url":"https://github.com/MagazinnikIvan","followers_url":"https://api.github.com/users/MagazinnikIvan/followers","following_url":"https://api.github.com/users/MagazinnikIvan/following{/other_user}","gists_url":"https://api.github.com/users/MagazinnikIvan/gists{/gist_id}","starred_url":"https://api.github.com/users/MagazinnikIvan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MagazinnikIvan/subscriptions","organizations_url":"https://api.github.com/users/MagazinnikIvan/orgs","repos_url":"https://api.github.com/users/MagazinnikIvan/repos","events_url":"https://api.github.com/users/MagazinnikIvan/events{/privacy}","received_events_url":"https://api.github.com/users/MagazinnikIvan/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-27T16:40:44Z","updated_at":"2018-10-28T14:48:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"73d3fbf4cd02154694ab55e9bf2aeb3908b07fd9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/47/commits","review_comments_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/47/comments","review_comment_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues/47/comments","statuses_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/statuses/7c237c420382bef457faea428eda69164c273360","head":{"label":"MagazinnikIvan:magazinnik-ivan-lab1","ref":"magazinnik-ivan-lab1","sha":"7c237c420382bef457faea428eda69164c273360","user":{"login":"MagazinnikIvan","id":14889089,"node_id":"MDQ6VXNlcjE0ODg5MDg5","avatar_url":"https://avatars2.githubusercontent.com/u/14889089?v=4","gravatar_id":"","url":"https://api.github.com/users/MagazinnikIvan","html_url":"https://github.com/MagazinnikIvan","followers_url":"https://api.github.com/users/MagazinnikIvan/followers","following_url":"https://api.github.com/users/MagazinnikIvan/following{/other_user}","gists_url":"https://api.github.com/users/MagazinnikIvan/gists{/gist_id}","starred_url":"https://api.github.com/users/MagazinnikIvan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MagazinnikIvan/subscriptions","organizations_url":"https://api.github.com/users/MagazinnikIvan/orgs","repos_url":"https://api.github.com/users/MagazinnikIvan/repos","events_url":"https://api.github.com/users/MagazinnikIvan/events{/privacy}","received_events_url":"https://api.github.com/users/MagazinnikIvan/received_events","type":"User","site_admin":false},"repo":{"id":153880361,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM4ODAzNjE=","name":"agile-course-practice","full_name":"MagazinnikIvan/agile-course-practice","private":false,"owner":{"login":"MagazinnikIvan","id":14889089,"node_id":"MDQ6VXNlcjE0ODg5MDg5","avatar_url":"https://avatars2.githubusercontent.com/u/14889089?v=4","gravatar_id":"","url":"https://api.github.com/users/MagazinnikIvan","html_url":"https://github.com/MagazinnikIvan","followers_url":"https://api.github.com/users/MagazinnikIvan/followers","following_url":"https://api.github.com/users/MagazinnikIvan/following{/other_user}","gists_url":"https://api.github.com/users/MagazinnikIvan/gists{/gist_id}","starred_url":"https://api.github.com/users/MagazinnikIvan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MagazinnikIvan/subscriptions","organizations_url":"https://api.github.com/users/MagazinnikIvan/orgs","repos_url":"https://api.github.com/users/MagazinnikIvan/repos","events_url":"https://api.github.com/users/MagazinnikIvan/events{/privacy}","received_events_url":"https://api.github.com/users/MagazinnikIvan/received_events","type":"User","site_admin":false},"html_url":"https://github.com/MagazinnikIvan/agile-course-practice","description":"Practice for master course on Agile Development","fork":true,"url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice","forks_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/forks","keys_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/teams","hooks_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/hooks","issue_events_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/issues/events{/number}","events_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/events","assignees_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/assignees{/user}","branches_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/branches{/branch}","tags_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/tags","blobs_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/git/refs{/sha}","trees_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/statuses/{sha}","languages_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/languages","stargazers_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/stargazers","contributors_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/contributors","subscribers_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/subscribers","subscription_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/subscription","commits_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/commits{/sha}","git_commits_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/git/commits{/sha}","comments_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/comments{/number}","issue_comment_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/issues/comments{/number}","contents_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/contents/{+path}","compare_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/merges","archive_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/downloads","issues_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/issues{/number}","pulls_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/pulls{/number}","milestones_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/milestones{/number}","notifications_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/labels{/name}","releases_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/releases{/id}","deployments_url":"https://api.github.com/repos/MagazinnikIvan/agile-course-practice/deployments","created_at":"2018-10-20T07:21:25Z","updated_at":"2018-10-27T08:14:47Z","pushed_at":"2018-10-27T16:34:15Z","git_url":"git://github.com/MagazinnikIvan/agile-course-practice.git","ssh_url":"git@github.com:MagazinnikIvan/agile-course-practice.git","clone_url":"https://github.com/MagazinnikIvan/agile-course-practice.git","svn_url":"https://github.com/MagazinnikIvan/agile-course-practice","homepage":"","size":338,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"UNN-VMK-Software:master","ref":"master","sha":"c07aad80aff3aba4c85eaf451c3f8e624a323b41","user":{"login":"UNN-VMK-Software","id":5463209,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NjMyMDk=","avatar_url":"https://avatars2.githubusercontent.com/u/5463209?v=4","gravatar_id":"","url":"https://api.github.com/users/UNN-VMK-Software","html_url":"https://github.com/UNN-VMK-Software","followers_url":"https://api.github.com/users/UNN-VMK-Software/followers","following_url":"https://api.github.com/users/UNN-VMK-Software/following{/other_user}","gists_url":"https://api.github.com/users/UNN-VMK-Software/gists{/gist_id}","starred_url":"https://api.github.com/users/UNN-VMK-Software/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UNN-VMK-Software/subscriptions","organizations_url":"https://api.github.com/users/UNN-VMK-Software/orgs","repos_url":"https://api.github.com/users/UNN-VMK-Software/repos","events_url":"https://api.github.com/users/UNN-VMK-Software/events{/privacy}","received_events_url":"https://api.github.com/users/UNN-VMK-Software/received_events","type":"Organization","site_admin":false},"repo":{"id":152223946,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIyMjM5NDY=","name":"agile-course-practice","full_name":"UNN-VMK-Software/agile-course-practice","private":false,"owner":{"login":"UNN-VMK-Software","id":5463209,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0NjMyMDk=","avatar_url":"https://avatars2.githubusercontent.com/u/5463209?v=4","gravatar_id":"","url":"https://api.github.com/users/UNN-VMK-Software","html_url":"https://github.com/UNN-VMK-Software","followers_url":"https://api.github.com/users/UNN-VMK-Software/followers","following_url":"https://api.github.com/users/UNN-VMK-Software/following{/other_user}","gists_url":"https://api.github.com/users/UNN-VMK-Software/gists{/gist_id}","starred_url":"https://api.github.com/users/UNN-VMK-Software/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UNN-VMK-Software/subscriptions","organizations_url":"https://api.github.com/users/UNN-VMK-Software/orgs","repos_url":"https://api.github.com/users/UNN-VMK-Software/repos","events_url":"https://api.github.com/users/UNN-VMK-Software/events{/privacy}","received_events_url":"https://api.github.com/users/UNN-VMK-Software/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/UNN-VMK-Software/agile-course-practice","description":"Practice for master course on Agile Development","fork":false,"url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice","forks_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/forks","keys_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/teams","hooks_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/hooks","issue_events_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues/events{/number}","events_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/events","assignees_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/assignees{/user}","branches_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/branches{/branch}","tags_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/tags","blobs_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/git/refs{/sha}","trees_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/statuses/{sha}","languages_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/languages","stargazers_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/stargazers","contributors_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/contributors","subscribers_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/subscribers","subscription_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/subscription","commits_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/commits{/sha}","git_commits_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/git/commits{/sha}","comments_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/comments{/number}","issue_comment_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues/comments{/number}","contents_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/contents/{+path}","compare_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/merges","archive_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/downloads","issues_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues{/number}","pulls_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls{/number}","milestones_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/milestones{/number}","notifications_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/labels{/name}","releases_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/releases{/id}","deployments_url":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/deployments","created_at":"2018-10-09T09:25:36Z","updated_at":"2018-10-28T13:07:18Z","pushed_at":"2018-10-28T14:42:34Z","git_url":"git://github.com/UNN-VMK-Software/agile-course-practice.git","ssh_url":"git@github.com:UNN-VMK-Software/agile-course-practice.git","clone_url":"https://github.com/UNN-VMK-Software/agile-course-practice.git","svn_url":"https://github.com/UNN-VMK-Software/agile-course-practice","homepage":"","size":301,"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":37,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":37,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/47"},"html":{"href":"https://github.com/UNN-VMK-Software/agile-course-practice/pull/47"},"issue":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues/47"},"comments":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/UNN-VMK-Software/agile-course-practice/statuses/7c237c420382bef457faea428eda69164c273360"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"zhiltsov-max"}}