{"action":"created","comment":{"url":"https://api.github.com/repos/HorGra/LoL/pulls/comments/40895578","id":40895578,"diff_hunk":"@@ -28,78 +28,57 @@ private static void initialiseConnection(String url, String user, String pass) t\n         connection = DriverManager.getConnection(url, user, pass);\n     }\n \n-    public PreparedStatement prepareStatement(String query) throws SQLException {\n-        return connection.prepareStatement(query);\n-    }\n-\n-    public Statement createStatement() throws SQLException {\n-        return connection.createStatement();\n-    }\n-\n     public HashSet<Long> getSomeSummonerIds() throws SQLException {\n         HashSet<Long> summonerIds = new HashSet<>();\n-        ResultSet resultSet = queryStatement(\"SELECT * FROM SummonerIds WHERE wasChecked = false LIMIT 5\");\n+        ResultSet resultSet = queryStatement(\"SELECT * FROM SUMMONERS WHERE WAS_CHECKED = false LIMIT 10\");","path":"database/src/main/java/com/kh/lolstats/DatabaseAccessor.java","position":15,"original_position":15,"commit_id":"8b47337f7db1d481e32bda82ade717a45b910e80","original_commit_id":"8b47337f7db1d481e32bda82ade717a45b910e80","user":{"login":"HorGra","id":10064011,"avatar_url":"https://avatars.githubusercontent.com/u/10064011?v=3","gravatar_id":"","url":"https://api.github.com/users/HorGra","html_url":"https://github.com/HorGra","followers_url":"https://api.github.com/users/HorGra/followers","following_url":"https://api.github.com/users/HorGra/following{/other_user}","gists_url":"https://api.github.com/users/HorGra/gists{/gist_id}","starred_url":"https://api.github.com/users/HorGra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HorGra/subscriptions","organizations_url":"https://api.github.com/users/HorGra/orgs","repos_url":"https://api.github.com/users/HorGra/repos","events_url":"https://api.github.com/users/HorGra/events{/privacy}","received_events_url":"https://api.github.com/users/HorGra/received_events","type":"User","site_admin":false},"body":"unchecked ones are inserted after getting a particular match's details (which includes the participants to that match). summoners are marked as checked once their match list is requested.","created_at":"2015-10-01T09:42:28Z","updated_at":"2015-10-01T09:42:28Z","html_url":"https://github.com/HorGra/LoL/pull/3#discussion_r40895578","pull_request_url":"https://api.github.com/repos/HorGra/LoL/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/HorGra/LoL/pulls/comments/40895578"},"html":{"href":"https://github.com/HorGra/LoL/pull/3#discussion_r40895578"},"pull_request":{"href":"https://api.github.com/repos/HorGra/LoL/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/HorGra/LoL/pulls/3","id":46453327,"html_url":"https://github.com/HorGra/LoL/pull/3","diff_url":"https://github.com/HorGra/LoL/pull/3.diff","patch_url":"https://github.com/HorGra/LoL/pull/3.patch","issue_url":"https://api.github.com/repos/HorGra/LoL/issues/3","number":3,"state":"open","locked":false,"title":"Consolidated stats table.","user":{"login":"HorGra","id":10064011,"avatar_url":"https://avatars.githubusercontent.com/u/10064011?v=3","gravatar_id":"","url":"https://api.github.com/users/HorGra","html_url":"https://github.com/HorGra","followers_url":"https://api.github.com/users/HorGra/followers","following_url":"https://api.github.com/users/HorGra/following{/other_user}","gists_url":"https://api.github.com/users/HorGra/gists{/gist_id}","starred_url":"https://api.github.com/users/HorGra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HorGra/subscriptions","organizations_url":"https://api.github.com/users/HorGra/orgs","repos_url":"https://api.github.com/users/HorGra/repos","events_url":"https://api.github.com/users/HorGra/events{/privacy}","received_events_url":"https://api.github.com/users/HorGra/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-30T20:39:08Z","updated_at":"2015-10-01T09:42:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"05b8043b1c924d073d2a01c7c276596c237c2eef","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/HorGra/LoL/pulls/3/commits","review_comments_url":"https://api.github.com/repos/HorGra/LoL/pulls/3/comments","review_comment_url":"https://api.github.com/repos/HorGra/LoL/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HorGra/LoL/issues/3/comments","statuses_url":"https://api.github.com/repos/HorGra/LoL/statuses/8b47337f7db1d481e32bda82ade717a45b910e80","head":{"label":"HorGra:hrn-consolidate-stats-table","ref":"hrn-consolidate-stats-table","sha":"8b47337f7db1d481e32bda82ade717a45b910e80","user":{"login":"HorGra","id":10064011,"avatar_url":"https://avatars.githubusercontent.com/u/10064011?v=3","gravatar_id":"","url":"https://api.github.com/users/HorGra","html_url":"https://github.com/HorGra","followers_url":"https://api.github.com/users/HorGra/followers","following_url":"https://api.github.com/users/HorGra/following{/other_user}","gists_url":"https://api.github.com/users/HorGra/gists{/gist_id}","starred_url":"https://api.github.com/users/HorGra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HorGra/subscriptions","organizations_url":"https://api.github.com/users/HorGra/orgs","repos_url":"https://api.github.com/users/HorGra/repos","events_url":"https://api.github.com/users/HorGra/events{/privacy}","received_events_url":"https://api.github.com/users/HorGra/received_events","type":"User","site_admin":false},"repo":{"id":43424391,"name":"LoL","full_name":"HorGra/LoL","owner":{"login":"HorGra","id":10064011,"avatar_url":"https://avatars.githubusercontent.com/u/10064011?v=3","gravatar_id":"","url":"https://api.github.com/users/HorGra","html_url":"https://github.com/HorGra","followers_url":"https://api.github.com/users/HorGra/followers","following_url":"https://api.github.com/users/HorGra/following{/other_user}","gists_url":"https://api.github.com/users/HorGra/gists{/gist_id}","starred_url":"https://api.github.com/users/HorGra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HorGra/subscriptions","organizations_url":"https://api.github.com/users/HorGra/orgs","repos_url":"https://api.github.com/users/HorGra/repos","events_url":"https://api.github.com/users/HorGra/events{/privacy}","received_events_url":"https://api.github.com/users/HorGra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HorGra/LoL","description":"","fork":false,"url":"https://api.github.com/repos/HorGra/LoL","forks_url":"https://api.github.com/repos/HorGra/LoL/forks","keys_url":"https://api.github.com/repos/HorGra/LoL/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HorGra/LoL/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HorGra/LoL/teams","hooks_url":"https://api.github.com/repos/HorGra/LoL/hooks","issue_events_url":"https://api.github.com/repos/HorGra/LoL/issues/events{/number}","events_url":"https://api.github.com/repos/HorGra/LoL/events","assignees_url":"https://api.github.com/repos/HorGra/LoL/assignees{/user}","branches_url":"https://api.github.com/repos/HorGra/LoL/branches{/branch}","tags_url":"https://api.github.com/repos/HorGra/LoL/tags","blobs_url":"https://api.github.com/repos/HorGra/LoL/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HorGra/LoL/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HorGra/LoL/git/refs{/sha}","trees_url":"https://api.github.com/repos/HorGra/LoL/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HorGra/LoL/statuses/{sha}","languages_url":"https://api.github.com/repos/HorGra/LoL/languages","stargazers_url":"https://api.github.com/repos/HorGra/LoL/stargazers","contributors_url":"https://api.github.com/repos/HorGra/LoL/contributors","subscribers_url":"https://api.github.com/repos/HorGra/LoL/subscribers","subscription_url":"https://api.github.com/repos/HorGra/LoL/subscription","commits_url":"https://api.github.com/repos/HorGra/LoL/commits{/sha}","git_commits_url":"https://api.github.com/repos/HorGra/LoL/git/commits{/sha}","comments_url":"https://api.github.com/repos/HorGra/LoL/comments{/number}","issue_comment_url":"https://api.github.com/repos/HorGra/LoL/issues/comments{/number}","contents_url":"https://api.github.com/repos/HorGra/LoL/contents/{+path}","compare_url":"https://api.github.com/repos/HorGra/LoL/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HorGra/LoL/merges","archive_url":"https://api.github.com/repos/HorGra/LoL/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HorGra/LoL/downloads","issues_url":"https://api.github.com/repos/HorGra/LoL/issues{/number}","pulls_url":"https://api.github.com/repos/HorGra/LoL/pulls{/number}","milestones_url":"https://api.github.com/repos/HorGra/LoL/milestones{/number}","notifications_url":"https://api.github.com/repos/HorGra/LoL/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HorGra/LoL/labels{/name}","releases_url":"https://api.github.com/repos/HorGra/LoL/releases{/id}","created_at":"2015-09-30T09:32:02Z","updated_at":"2015-09-30T09:32:08Z","pushed_at":"2015-09-30T20:39:08Z","git_url":"git://github.com/HorGra/LoL.git","ssh_url":"git@github.com:HorGra/LoL.git","clone_url":"https://github.com/HorGra/LoL.git","svn_url":"https://github.com/HorGra/LoL","homepage":null,"size":0,"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":"HorGra:master","ref":"master","sha":"97097ca0e31028226e52aef385cb864081534777","user":{"login":"HorGra","id":10064011,"avatar_url":"https://avatars.githubusercontent.com/u/10064011?v=3","gravatar_id":"","url":"https://api.github.com/users/HorGra","html_url":"https://github.com/HorGra","followers_url":"https://api.github.com/users/HorGra/followers","following_url":"https://api.github.com/users/HorGra/following{/other_user}","gists_url":"https://api.github.com/users/HorGra/gists{/gist_id}","starred_url":"https://api.github.com/users/HorGra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HorGra/subscriptions","organizations_url":"https://api.github.com/users/HorGra/orgs","repos_url":"https://api.github.com/users/HorGra/repos","events_url":"https://api.github.com/users/HorGra/events{/privacy}","received_events_url":"https://api.github.com/users/HorGra/received_events","type":"User","site_admin":false},"repo":{"id":43424391,"name":"LoL","full_name":"HorGra/LoL","owner":{"login":"HorGra","id":10064011,"avatar_url":"https://avatars.githubusercontent.com/u/10064011?v=3","gravatar_id":"","url":"https://api.github.com/users/HorGra","html_url":"https://github.com/HorGra","followers_url":"https://api.github.com/users/HorGra/followers","following_url":"https://api.github.com/users/HorGra/following{/other_user}","gists_url":"https://api.github.com/users/HorGra/gists{/gist_id}","starred_url":"https://api.github.com/users/HorGra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HorGra/subscriptions","organizations_url":"https://api.github.com/users/HorGra/orgs","repos_url":"https://api.github.com/users/HorGra/repos","events_url":"https://api.github.com/users/HorGra/events{/privacy}","received_events_url":"https://api.github.com/users/HorGra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HorGra/LoL","description":"","fork":false,"url":"https://api.github.com/repos/HorGra/LoL","forks_url":"https://api.github.com/repos/HorGra/LoL/forks","keys_url":"https://api.github.com/repos/HorGra/LoL/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HorGra/LoL/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HorGra/LoL/teams","hooks_url":"https://api.github.com/repos/HorGra/LoL/hooks","issue_events_url":"https://api.github.com/repos/HorGra/LoL/issues/events{/number}","events_url":"https://api.github.com/repos/HorGra/LoL/events","assignees_url":"https://api.github.com/repos/HorGra/LoL/assignees{/user}","branches_url":"https://api.github.com/repos/HorGra/LoL/branches{/branch}","tags_url":"https://api.github.com/repos/HorGra/LoL/tags","blobs_url":"https://api.github.com/repos/HorGra/LoL/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HorGra/LoL/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HorGra/LoL/git/refs{/sha}","trees_url":"https://api.github.com/repos/HorGra/LoL/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HorGra/LoL/statuses/{sha}","languages_url":"https://api.github.com/repos/HorGra/LoL/languages","stargazers_url":"https://api.github.com/repos/HorGra/LoL/stargazers","contributors_url":"https://api.github.com/repos/HorGra/LoL/contributors","subscribers_url":"https://api.github.com/repos/HorGra/LoL/subscribers","subscription_url":"https://api.github.com/repos/HorGra/LoL/subscription","commits_url":"https://api.github.com/repos/HorGra/LoL/commits{/sha}","git_commits_url":"https://api.github.com/repos/HorGra/LoL/git/commits{/sha}","comments_url":"https://api.github.com/repos/HorGra/LoL/comments{/number}","issue_comment_url":"https://api.github.com/repos/HorGra/LoL/issues/comments{/number}","contents_url":"https://api.github.com/repos/HorGra/LoL/contents/{+path}","compare_url":"https://api.github.com/repos/HorGra/LoL/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HorGra/LoL/merges","archive_url":"https://api.github.com/repos/HorGra/LoL/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HorGra/LoL/downloads","issues_url":"https://api.github.com/repos/HorGra/LoL/issues{/number}","pulls_url":"https://api.github.com/repos/HorGra/LoL/pulls{/number}","milestones_url":"https://api.github.com/repos/HorGra/LoL/milestones{/number}","notifications_url":"https://api.github.com/repos/HorGra/LoL/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HorGra/LoL/labels{/name}","releases_url":"https://api.github.com/repos/HorGra/LoL/releases{/id}","created_at":"2015-09-30T09:32:02Z","updated_at":"2015-09-30T09:32:08Z","pushed_at":"2015-09-30T20:39:08Z","git_url":"git://github.com/HorGra/LoL.git","ssh_url":"git@github.com:HorGra/LoL.git","clone_url":"https://github.com/HorGra/LoL.git","svn_url":"https://github.com/HorGra/LoL","homepage":null,"size":0,"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/HorGra/LoL/pulls/3"},"html":{"href":"https://github.com/HorGra/LoL/pull/3"},"issue":{"href":"https://api.github.com/repos/HorGra/LoL/issues/3"},"comments":{"href":"https://api.github.com/repos/HorGra/LoL/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/HorGra/LoL/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/HorGra/LoL/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HorGra/LoL/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/HorGra/LoL/statuses/8b47337f7db1d481e32bda82ade717a45b910e80"}}}}