{"action":"created","comment":{"url":"https://api.github.com/repos/fedochet/au-java-assignments/pulls/comments/174588958","pull_request_review_id":103973383,"id":174588958,"diff_hunk":"@@ -0,0 +1,103 @@\n+package ru.spbau.task1;\n+\n+import java.util.HashMap;\n+import java.util.Map;\n+import java.util.Optional;\n+\n+class HashMapTrieNode {\n+    private final Map<Character, HashMapTrieNode> nextNodes = new HashMap<>();\n+    private boolean isTerminal = false;\n+    private int size = 0;\n+\n+    public boolean add(String element, int fromPosition) {\n+        if (fromPosition >= element.length()) {","path":"task-1-trie/src/main/java/ru/spbau/task1/HashMapTrieNode.java","position":13,"original_position":13,"commit_id":"c096012be6a9f6f584c6b42f0ad6d1aa92c0c6c9","original_commit_id":"c096012be6a9f6f584c6b42f0ad6d1aa92c0c6c9","user":{"login":"fedochet","id":8393617,"avatar_url":"https://avatars2.githubusercontent.com/u/8393617?v=4","gravatar_id":"","url":"https://api.github.com/users/fedochet","html_url":"https://github.com/fedochet","followers_url":"https://api.github.com/users/fedochet/followers","following_url":"https://api.github.com/users/fedochet/following{/other_user}","gists_url":"https://api.github.com/users/fedochet/gists{/gist_id}","starred_url":"https://api.github.com/users/fedochet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedochet/subscriptions","organizations_url":"https://api.github.com/users/fedochet/orgs","repos_url":"https://api.github.com/users/fedochet/repos","events_url":"https://api.github.com/users/fedochet/events{/privacy}","received_events_url":"https://api.github.com/users/fedochet/received_events","type":"User","site_admin":false},"body":"Да, действительно падает :open_mouth: \r\nОкей, тогда добавлю дополнительную проверку в сам HashMapTrie","created_at":"2018-03-14T19:48:26Z","updated_at":"2018-03-14T19:48:26Z","html_url":"https://github.com/fedochet/au-java-assignments/pull/1#discussion_r174588958","pull_request_url":"https://api.github.com/repos/fedochet/au-java-assignments/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/fedochet/au-java-assignments/pulls/comments/174588958"},"html":{"href":"https://github.com/fedochet/au-java-assignments/pull/1#discussion_r174588958"},"pull_request":{"href":"https://api.github.com/repos/fedochet/au-java-assignments/pulls/1"}},"in_reply_to_id":174548807},"pull_request":{"url":"https://api.github.com/repos/fedochet/au-java-assignments/pulls/1","id":173265570,"html_url":"https://github.com/fedochet/au-java-assignments/pull/1","diff_url":"https://github.com/fedochet/au-java-assignments/pull/1.diff","patch_url":"https://github.com/fedochet/au-java-assignments/pull/1.patch","issue_url":"https://api.github.com/repos/fedochet/au-java-assignments/issues/1","number":1,"state":"open","locked":false,"title":"Java05. ДЗ 01, Голышев Роман","user":{"login":"fedochet","id":8393617,"avatar_url":"https://avatars2.githubusercontent.com/u/8393617?v=4","gravatar_id":"","url":"https://api.github.com/users/fedochet","html_url":"https://github.com/fedochet","followers_url":"https://api.github.com/users/fedochet/followers","following_url":"https://api.github.com/users/fedochet/following{/other_user}","gists_url":"https://api.github.com/users/fedochet/gists{/gist_id}","starred_url":"https://api.github.com/users/fedochet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedochet/subscriptions","organizations_url":"https://api.github.com/users/fedochet/orgs","repos_url":"https://api.github.com/users/fedochet/repos","events_url":"https://api.github.com/users/fedochet/events{/privacy}","received_events_url":"https://api.github.com/users/fedochet/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-06T20:01:01Z","updated_at":"2018-03-14T19:48:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c64273a4d25fbded1a60ae0ef34b68e47894bbe","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/fedochet/au-java-assignments/pulls/1/commits","review_comments_url":"https://api.github.com/repos/fedochet/au-java-assignments/pulls/1/comments","review_comment_url":"https://api.github.com/repos/fedochet/au-java-assignments/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fedochet/au-java-assignments/issues/1/comments","statuses_url":"https://api.github.com/repos/fedochet/au-java-assignments/statuses/c096012be6a9f6f584c6b42f0ad6d1aa92c0c6c9","head":{"label":"fedochet:task-1-trie","ref":"task-1-trie","sha":"c096012be6a9f6f584c6b42f0ad6d1aa92c0c6c9","user":{"login":"fedochet","id":8393617,"avatar_url":"https://avatars2.githubusercontent.com/u/8393617?v=4","gravatar_id":"","url":"https://api.github.com/users/fedochet","html_url":"https://github.com/fedochet","followers_url":"https://api.github.com/users/fedochet/followers","following_url":"https://api.github.com/users/fedochet/following{/other_user}","gists_url":"https://api.github.com/users/fedochet/gists{/gist_id}","starred_url":"https://api.github.com/users/fedochet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedochet/subscriptions","organizations_url":"https://api.github.com/users/fedochet/orgs","repos_url":"https://api.github.com/users/fedochet/repos","events_url":"https://api.github.com/users/fedochet/events{/privacy}","received_events_url":"https://api.github.com/users/fedochet/received_events","type":"User","site_admin":false},"repo":{"id":123722959,"name":"au-java-assignments","full_name":"fedochet/au-java-assignments","owner":{"login":"fedochet","id":8393617,"avatar_url":"https://avatars2.githubusercontent.com/u/8393617?v=4","gravatar_id":"","url":"https://api.github.com/users/fedochet","html_url":"https://github.com/fedochet","followers_url":"https://api.github.com/users/fedochet/followers","following_url":"https://api.github.com/users/fedochet/following{/other_user}","gists_url":"https://api.github.com/users/fedochet/gists{/gist_id}","starred_url":"https://api.github.com/users/fedochet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedochet/subscriptions","organizations_url":"https://api.github.com/users/fedochet/orgs","repos_url":"https://api.github.com/users/fedochet/repos","events_url":"https://api.github.com/users/fedochet/events{/privacy}","received_events_url":"https://api.github.com/users/fedochet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fedochet/au-java-assignments","description":"Repository for SPbAU Java homeworks","fork":false,"url":"https://api.github.com/repos/fedochet/au-java-assignments","forks_url":"https://api.github.com/repos/fedochet/au-java-assignments/forks","keys_url":"https://api.github.com/repos/fedochet/au-java-assignments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fedochet/au-java-assignments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fedochet/au-java-assignments/teams","hooks_url":"https://api.github.com/repos/fedochet/au-java-assignments/hooks","issue_events_url":"https://api.github.com/repos/fedochet/au-java-assignments/issues/events{/number}","events_url":"https://api.github.com/repos/fedochet/au-java-assignments/events","assignees_url":"https://api.github.com/repos/fedochet/au-java-assignments/assignees{/user}","branches_url":"https://api.github.com/repos/fedochet/au-java-assignments/branches{/branch}","tags_url":"https://api.github.com/repos/fedochet/au-java-assignments/tags","blobs_url":"https://api.github.com/repos/fedochet/au-java-assignments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fedochet/au-java-assignments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fedochet/au-java-assignments/git/refs{/sha}","trees_url":"https://api.github.com/repos/fedochet/au-java-assignments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fedochet/au-java-assignments/statuses/{sha}","languages_url":"https://api.github.com/repos/fedochet/au-java-assignments/languages","stargazers_url":"https://api.github.com/repos/fedochet/au-java-assignments/stargazers","contributors_url":"https://api.github.com/repos/fedochet/au-java-assignments/contributors","subscribers_url":"https://api.github.com/repos/fedochet/au-java-assignments/subscribers","subscription_url":"https://api.github.com/repos/fedochet/au-java-assignments/subscription","commits_url":"https://api.github.com/repos/fedochet/au-java-assignments/commits{/sha}","git_commits_url":"https://api.github.com/repos/fedochet/au-java-assignments/git/commits{/sha}","comments_url":"https://api.github.com/repos/fedochet/au-java-assignments/comments{/number}","issue_comment_url":"https://api.github.com/repos/fedochet/au-java-assignments/issues/comments{/number}","contents_url":"https://api.github.com/repos/fedochet/au-java-assignments/contents/{+path}","compare_url":"https://api.github.com/repos/fedochet/au-java-assignments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fedochet/au-java-assignments/merges","archive_url":"https://api.github.com/repos/fedochet/au-java-assignments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fedochet/au-java-assignments/downloads","issues_url":"https://api.github.com/repos/fedochet/au-java-assignments/issues{/number}","pulls_url":"https://api.github.com/repos/fedochet/au-java-assignments/pulls{/number}","milestones_url":"https://api.github.com/repos/fedochet/au-java-assignments/milestones{/number}","notifications_url":"https://api.github.com/repos/fedochet/au-java-assignments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fedochet/au-java-assignments/labels{/name}","releases_url":"https://api.github.com/repos/fedochet/au-java-assignments/releases{/id}","deployments_url":"https://api.github.com/repos/fedochet/au-java-assignments/deployments","created_at":"2018-03-03T19:08:51Z","updated_at":"2018-03-03T19:08:51Z","pushed_at":"2018-03-06T20:09:36Z","git_url":"git://github.com/fedochet/au-java-assignments.git","ssh_url":"git@github.com:fedochet/au-java-assignments.git","clone_url":"https://github.com/fedochet/au-java-assignments.git","svn_url":"https://github.com/fedochet/au-java-assignments","homepage":null,"size":19,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"fedochet:master","ref":"master","sha":"7029afba81de20ba20df02e8d61f6f09b5aec66c","user":{"login":"fedochet","id":8393617,"avatar_url":"https://avatars2.githubusercontent.com/u/8393617?v=4","gravatar_id":"","url":"https://api.github.com/users/fedochet","html_url":"https://github.com/fedochet","followers_url":"https://api.github.com/users/fedochet/followers","following_url":"https://api.github.com/users/fedochet/following{/other_user}","gists_url":"https://api.github.com/users/fedochet/gists{/gist_id}","starred_url":"https://api.github.com/users/fedochet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedochet/subscriptions","organizations_url":"https://api.github.com/users/fedochet/orgs","repos_url":"https://api.github.com/users/fedochet/repos","events_url":"https://api.github.com/users/fedochet/events{/privacy}","received_events_url":"https://api.github.com/users/fedochet/received_events","type":"User","site_admin":false},"repo":{"id":123722959,"name":"au-java-assignments","full_name":"fedochet/au-java-assignments","owner":{"login":"fedochet","id":8393617,"avatar_url":"https://avatars2.githubusercontent.com/u/8393617?v=4","gravatar_id":"","url":"https://api.github.com/users/fedochet","html_url":"https://github.com/fedochet","followers_url":"https://api.github.com/users/fedochet/followers","following_url":"https://api.github.com/users/fedochet/following{/other_user}","gists_url":"https://api.github.com/users/fedochet/gists{/gist_id}","starred_url":"https://api.github.com/users/fedochet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedochet/subscriptions","organizations_url":"https://api.github.com/users/fedochet/orgs","repos_url":"https://api.github.com/users/fedochet/repos","events_url":"https://api.github.com/users/fedochet/events{/privacy}","received_events_url":"https://api.github.com/users/fedochet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fedochet/au-java-assignments","description":"Repository for SPbAU Java homeworks","fork":false,"url":"https://api.github.com/repos/fedochet/au-java-assignments","forks_url":"https://api.github.com/repos/fedochet/au-java-assignments/forks","keys_url":"https://api.github.com/repos/fedochet/au-java-assignments/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fedochet/au-java-assignments/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fedochet/au-java-assignments/teams","hooks_url":"https://api.github.com/repos/fedochet/au-java-assignments/hooks","issue_events_url":"https://api.github.com/repos/fedochet/au-java-assignments/issues/events{/number}","events_url":"https://api.github.com/repos/fedochet/au-java-assignments/events","assignees_url":"https://api.github.com/repos/fedochet/au-java-assignments/assignees{/user}","branches_url":"https://api.github.com/repos/fedochet/au-java-assignments/branches{/branch}","tags_url":"https://api.github.com/repos/fedochet/au-java-assignments/tags","blobs_url":"https://api.github.com/repos/fedochet/au-java-assignments/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fedochet/au-java-assignments/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fedochet/au-java-assignments/git/refs{/sha}","trees_url":"https://api.github.com/repos/fedochet/au-java-assignments/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fedochet/au-java-assignments/statuses/{sha}","languages_url":"https://api.github.com/repos/fedochet/au-java-assignments/languages","stargazers_url":"https://api.github.com/repos/fedochet/au-java-assignments/stargazers","contributors_url":"https://api.github.com/repos/fedochet/au-java-assignments/contributors","subscribers_url":"https://api.github.com/repos/fedochet/au-java-assignments/subscribers","subscription_url":"https://api.github.com/repos/fedochet/au-java-assignments/subscription","commits_url":"https://api.github.com/repos/fedochet/au-java-assignments/commits{/sha}","git_commits_url":"https://api.github.com/repos/fedochet/au-java-assignments/git/commits{/sha}","comments_url":"https://api.github.com/repos/fedochet/au-java-assignments/comments{/number}","issue_comment_url":"https://api.github.com/repos/fedochet/au-java-assignments/issues/comments{/number}","contents_url":"https://api.github.com/repos/fedochet/au-java-assignments/contents/{+path}","compare_url":"https://api.github.com/repos/fedochet/au-java-assignments/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fedochet/au-java-assignments/merges","archive_url":"https://api.github.com/repos/fedochet/au-java-assignments/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fedochet/au-java-assignments/downloads","issues_url":"https://api.github.com/repos/fedochet/au-java-assignments/issues{/number}","pulls_url":"https://api.github.com/repos/fedochet/au-java-assignments/pulls{/number}","milestones_url":"https://api.github.com/repos/fedochet/au-java-assignments/milestones{/number}","notifications_url":"https://api.github.com/repos/fedochet/au-java-assignments/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fedochet/au-java-assignments/labels{/name}","releases_url":"https://api.github.com/repos/fedochet/au-java-assignments/releases{/id}","deployments_url":"https://api.github.com/repos/fedochet/au-java-assignments/deployments","created_at":"2018-03-03T19:08:51Z","updated_at":"2018-03-03T19:08:51Z","pushed_at":"2018-03-06T20:09:36Z","git_url":"git://github.com/fedochet/au-java-assignments.git","ssh_url":"git@github.com:fedochet/au-java-assignments.git","clone_url":"https://github.com/fedochet/au-java-assignments.git","svn_url":"https://github.com/fedochet/au-java-assignments","homepage":null,"size":19,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fedochet/au-java-assignments/pulls/1"},"html":{"href":"https://github.com/fedochet/au-java-assignments/pull/1"},"issue":{"href":"https://api.github.com/repos/fedochet/au-java-assignments/issues/1"},"comments":{"href":"https://api.github.com/repos/fedochet/au-java-assignments/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/fedochet/au-java-assignments/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/fedochet/au-java-assignments/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fedochet/au-java-assignments/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/fedochet/au-java-assignments/statuses/c096012be6a9f6f584c6b42f0ad6d1aa92c0c6c9"}},"author_association":"OWNER"}}
{"actor":{"display_login":"fedochet"}}