{"action":"created","comment":{"url":"https://api.github.com/repos/Roka3/TicTacToe/pulls/comments/66935170","id":66935170,"diff_hunk":"@@ -44,11 +44,14 @@ protected void onCreate(Bundle savedInstanceState) {\n         }\n     }\n     private boolean isName(String a){\n-        boolean ans = false;\n-        for(int i = 0; i < a.length(); i++)if(a.charAt(i)!=' ')ans=true;\n-        return ans;\n+        try {\n+            boolean ans = false;\n+            for (int i = 0; i < a.length(); i++) if (a.charAt(i) != ' ') ans = true;\n+            return ans;\n+        }catch (Exception e){\n+            return false;\n+        }\n     }","path":"TicTacToe/app/src/main/java/com/example/rokar/tictactoe/MenuActivity.java","position":63,"original_position":14,"commit_id":"84effb67b85d5da22d20ff2f1d9017ac66552023","original_commit_id":"84effb67b85d5da22d20ff2f1d9017ac66552023","user":{"login":"Roka3","id":19844144,"avatar_url":"https://avatars.githubusercontent.com/u/19844144?v=3","gravatar_id":"","url":"https://api.github.com/users/Roka3","html_url":"https://github.com/Roka3","followers_url":"https://api.github.com/users/Roka3/followers","following_url":"https://api.github.com/users/Roka3/following{/other_user}","gists_url":"https://api.github.com/users/Roka3/gists{/gist_id}","starred_url":"https://api.github.com/users/Roka3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roka3/subscriptions","organizations_url":"https://api.github.com/users/Roka3/orgs","repos_url":"https://api.github.com/users/Roka3/repos","events_url":"https://api.github.com/users/Roka3/events{/privacy}","received_events_url":"https://api.github.com/users/Roka3/received_events","type":"User","site_admin":false},"body":"Видає помилку при визові метода length() на пустий String.","created_at":"2016-06-14T09:16:23Z","updated_at":"2016-06-14T09:16:23Z","html_url":"https://github.com/Roka3/TicTacToe/pull/3#discussion_r66935170","pull_request_url":"https://api.github.com/repos/Roka3/TicTacToe/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/Roka3/TicTacToe/pulls/comments/66935170"},"html":{"href":"https://github.com/Roka3/TicTacToe/pull/3#discussion_r66935170"},"pull_request":{"href":"https://api.github.com/repos/Roka3/TicTacToe/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Roka3/TicTacToe/pulls/3","id":73603772,"html_url":"https://github.com/Roka3/TicTacToe/pull/3","diff_url":"https://github.com/Roka3/TicTacToe/pull/3.diff","patch_url":"https://github.com/Roka3/TicTacToe/pull/3.patch","issue_url":"https://api.github.com/repos/Roka3/TicTacToe/issues/3","number":3,"state":"open","locked":false,"title":"Added saves for name and colors","user":{"login":"Roka3","id":19844144,"avatar_url":"https://avatars.githubusercontent.com/u/19844144?v=3","gravatar_id":"","url":"https://api.github.com/users/Roka3","html_url":"https://github.com/Roka3","followers_url":"https://api.github.com/users/Roka3/followers","following_url":"https://api.github.com/users/Roka3/following{/other_user}","gists_url":"https://api.github.com/users/Roka3/gists{/gist_id}","starred_url":"https://api.github.com/users/Roka3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roka3/subscriptions","organizations_url":"https://api.github.com/users/Roka3/orgs","repos_url":"https://api.github.com/users/Roka3/repos","events_url":"https://api.github.com/users/Roka3/events{/privacy}","received_events_url":"https://api.github.com/users/Roka3/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-13T16:22:34Z","updated_at":"2016-06-14T09:16:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"39c58e5324fd9d3bb95188f2aab44ce3bcac6c9e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Roka3/TicTacToe/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Roka3/TicTacToe/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Roka3/TicTacToe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Roka3/TicTacToe/issues/3/comments","statuses_url":"https://api.github.com/repos/Roka3/TicTacToe/statuses/84effb67b85d5da22d20ff2f1d9017ac66552023","head":{"label":"Roka3:new_features","ref":"new_features","sha":"84effb67b85d5da22d20ff2f1d9017ac66552023","user":{"login":"Roka3","id":19844144,"avatar_url":"https://avatars.githubusercontent.com/u/19844144?v=3","gravatar_id":"","url":"https://api.github.com/users/Roka3","html_url":"https://github.com/Roka3","followers_url":"https://api.github.com/users/Roka3/followers","following_url":"https://api.github.com/users/Roka3/following{/other_user}","gists_url":"https://api.github.com/users/Roka3/gists{/gist_id}","starred_url":"https://api.github.com/users/Roka3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roka3/subscriptions","organizations_url":"https://api.github.com/users/Roka3/orgs","repos_url":"https://api.github.com/users/Roka3/repos","events_url":"https://api.github.com/users/Roka3/events{/privacy}","received_events_url":"https://api.github.com/users/Roka3/received_events","type":"User","site_admin":false},"repo":{"id":60801493,"name":"TicTacToe","full_name":"Roka3/TicTacToe","owner":{"login":"Roka3","id":19844144,"avatar_url":"https://avatars.githubusercontent.com/u/19844144?v=3","gravatar_id":"","url":"https://api.github.com/users/Roka3","html_url":"https://github.com/Roka3","followers_url":"https://api.github.com/users/Roka3/followers","following_url":"https://api.github.com/users/Roka3/following{/other_user}","gists_url":"https://api.github.com/users/Roka3/gists{/gist_id}","starred_url":"https://api.github.com/users/Roka3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roka3/subscriptions","organizations_url":"https://api.github.com/users/Roka3/orgs","repos_url":"https://api.github.com/users/Roka3/repos","events_url":"https://api.github.com/users/Roka3/events{/privacy}","received_events_url":"https://api.github.com/users/Roka3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Roka3/TicTacToe","description":"","fork":false,"url":"https://api.github.com/repos/Roka3/TicTacToe","forks_url":"https://api.github.com/repos/Roka3/TicTacToe/forks","keys_url":"https://api.github.com/repos/Roka3/TicTacToe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Roka3/TicTacToe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Roka3/TicTacToe/teams","hooks_url":"https://api.github.com/repos/Roka3/TicTacToe/hooks","issue_events_url":"https://api.github.com/repos/Roka3/TicTacToe/issues/events{/number}","events_url":"https://api.github.com/repos/Roka3/TicTacToe/events","assignees_url":"https://api.github.com/repos/Roka3/TicTacToe/assignees{/user}","branches_url":"https://api.github.com/repos/Roka3/TicTacToe/branches{/branch}","tags_url":"https://api.github.com/repos/Roka3/TicTacToe/tags","blobs_url":"https://api.github.com/repos/Roka3/TicTacToe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Roka3/TicTacToe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Roka3/TicTacToe/git/refs{/sha}","trees_url":"https://api.github.com/repos/Roka3/TicTacToe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Roka3/TicTacToe/statuses/{sha}","languages_url":"https://api.github.com/repos/Roka3/TicTacToe/languages","stargazers_url":"https://api.github.com/repos/Roka3/TicTacToe/stargazers","contributors_url":"https://api.github.com/repos/Roka3/TicTacToe/contributors","subscribers_url":"https://api.github.com/repos/Roka3/TicTacToe/subscribers","subscription_url":"https://api.github.com/repos/Roka3/TicTacToe/subscription","commits_url":"https://api.github.com/repos/Roka3/TicTacToe/commits{/sha}","git_commits_url":"https://api.github.com/repos/Roka3/TicTacToe/git/commits{/sha}","comments_url":"https://api.github.com/repos/Roka3/TicTacToe/comments{/number}","issue_comment_url":"https://api.github.com/repos/Roka3/TicTacToe/issues/comments{/number}","contents_url":"https://api.github.com/repos/Roka3/TicTacToe/contents/{+path}","compare_url":"https://api.github.com/repos/Roka3/TicTacToe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Roka3/TicTacToe/merges","archive_url":"https://api.github.com/repos/Roka3/TicTacToe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Roka3/TicTacToe/downloads","issues_url":"https://api.github.com/repos/Roka3/TicTacToe/issues{/number}","pulls_url":"https://api.github.com/repos/Roka3/TicTacToe/pulls{/number}","milestones_url":"https://api.github.com/repos/Roka3/TicTacToe/milestones{/number}","notifications_url":"https://api.github.com/repos/Roka3/TicTacToe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Roka3/TicTacToe/labels{/name}","releases_url":"https://api.github.com/repos/Roka3/TicTacToe/releases{/id}","deployments_url":"https://api.github.com/repos/Roka3/TicTacToe/deployments","created_at":"2016-06-09T19:32:15Z","updated_at":"2016-06-09T19:33:53Z","pushed_at":"2016-06-14T09:15:28Z","git_url":"git://github.com/Roka3/TicTacToe.git","ssh_url":"git@github.com:Roka3/TicTacToe.git","clone_url":"https://github.com/Roka3/TicTacToe.git","svn_url":"https://github.com/Roka3/TicTacToe","homepage":null,"size":99,"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":"Roka3:master","ref":"master","sha":"c8d967c238c8181f9b2b27c92f44436d4c15f99a","user":{"login":"Roka3","id":19844144,"avatar_url":"https://avatars.githubusercontent.com/u/19844144?v=3","gravatar_id":"","url":"https://api.github.com/users/Roka3","html_url":"https://github.com/Roka3","followers_url":"https://api.github.com/users/Roka3/followers","following_url":"https://api.github.com/users/Roka3/following{/other_user}","gists_url":"https://api.github.com/users/Roka3/gists{/gist_id}","starred_url":"https://api.github.com/users/Roka3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roka3/subscriptions","organizations_url":"https://api.github.com/users/Roka3/orgs","repos_url":"https://api.github.com/users/Roka3/repos","events_url":"https://api.github.com/users/Roka3/events{/privacy}","received_events_url":"https://api.github.com/users/Roka3/received_events","type":"User","site_admin":false},"repo":{"id":60801493,"name":"TicTacToe","full_name":"Roka3/TicTacToe","owner":{"login":"Roka3","id":19844144,"avatar_url":"https://avatars.githubusercontent.com/u/19844144?v=3","gravatar_id":"","url":"https://api.github.com/users/Roka3","html_url":"https://github.com/Roka3","followers_url":"https://api.github.com/users/Roka3/followers","following_url":"https://api.github.com/users/Roka3/following{/other_user}","gists_url":"https://api.github.com/users/Roka3/gists{/gist_id}","starred_url":"https://api.github.com/users/Roka3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roka3/subscriptions","organizations_url":"https://api.github.com/users/Roka3/orgs","repos_url":"https://api.github.com/users/Roka3/repos","events_url":"https://api.github.com/users/Roka3/events{/privacy}","received_events_url":"https://api.github.com/users/Roka3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Roka3/TicTacToe","description":"","fork":false,"url":"https://api.github.com/repos/Roka3/TicTacToe","forks_url":"https://api.github.com/repos/Roka3/TicTacToe/forks","keys_url":"https://api.github.com/repos/Roka3/TicTacToe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Roka3/TicTacToe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Roka3/TicTacToe/teams","hooks_url":"https://api.github.com/repos/Roka3/TicTacToe/hooks","issue_events_url":"https://api.github.com/repos/Roka3/TicTacToe/issues/events{/number}","events_url":"https://api.github.com/repos/Roka3/TicTacToe/events","assignees_url":"https://api.github.com/repos/Roka3/TicTacToe/assignees{/user}","branches_url":"https://api.github.com/repos/Roka3/TicTacToe/branches{/branch}","tags_url":"https://api.github.com/repos/Roka3/TicTacToe/tags","blobs_url":"https://api.github.com/repos/Roka3/TicTacToe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Roka3/TicTacToe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Roka3/TicTacToe/git/refs{/sha}","trees_url":"https://api.github.com/repos/Roka3/TicTacToe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Roka3/TicTacToe/statuses/{sha}","languages_url":"https://api.github.com/repos/Roka3/TicTacToe/languages","stargazers_url":"https://api.github.com/repos/Roka3/TicTacToe/stargazers","contributors_url":"https://api.github.com/repos/Roka3/TicTacToe/contributors","subscribers_url":"https://api.github.com/repos/Roka3/TicTacToe/subscribers","subscription_url":"https://api.github.com/repos/Roka3/TicTacToe/subscription","commits_url":"https://api.github.com/repos/Roka3/TicTacToe/commits{/sha}","git_commits_url":"https://api.github.com/repos/Roka3/TicTacToe/git/commits{/sha}","comments_url":"https://api.github.com/repos/Roka3/TicTacToe/comments{/number}","issue_comment_url":"https://api.github.com/repos/Roka3/TicTacToe/issues/comments{/number}","contents_url":"https://api.github.com/repos/Roka3/TicTacToe/contents/{+path}","compare_url":"https://api.github.com/repos/Roka3/TicTacToe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Roka3/TicTacToe/merges","archive_url":"https://api.github.com/repos/Roka3/TicTacToe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Roka3/TicTacToe/downloads","issues_url":"https://api.github.com/repos/Roka3/TicTacToe/issues{/number}","pulls_url":"https://api.github.com/repos/Roka3/TicTacToe/pulls{/number}","milestones_url":"https://api.github.com/repos/Roka3/TicTacToe/milestones{/number}","notifications_url":"https://api.github.com/repos/Roka3/TicTacToe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Roka3/TicTacToe/labels{/name}","releases_url":"https://api.github.com/repos/Roka3/TicTacToe/releases{/id}","deployments_url":"https://api.github.com/repos/Roka3/TicTacToe/deployments","created_at":"2016-06-09T19:32:15Z","updated_at":"2016-06-09T19:33:53Z","pushed_at":"2016-06-14T09:15:28Z","git_url":"git://github.com/Roka3/TicTacToe.git","ssh_url":"git@github.com:Roka3/TicTacToe.git","clone_url":"https://github.com/Roka3/TicTacToe.git","svn_url":"https://github.com/Roka3/TicTacToe","homepage":null,"size":99,"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/Roka3/TicTacToe/pulls/3"},"html":{"href":"https://github.com/Roka3/TicTacToe/pull/3"},"issue":{"href":"https://api.github.com/repos/Roka3/TicTacToe/issues/3"},"comments":{"href":"https://api.github.com/repos/Roka3/TicTacToe/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Roka3/TicTacToe/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Roka3/TicTacToe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Roka3/TicTacToe/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Roka3/TicTacToe/statuses/84effb67b85d5da22d20ff2f1d9017ac66552023"}}}}
{"actor":{"display_login":"Roka3"}}