{"action":"created","comment":{"url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/pulls/comments/191040633","pull_request_review_id":123548394,"id":191040633,"diff_hunk":"@@ -0,0 +1,29 @@\n+package ru.innopolis.saturn.connection;\n+\n+import org.apache.log4j.Logger;\n+\n+import java.sql.Connection;\n+import java.sql.DriverManager;\n+import java.sql.SQLException;\n+\n+public class ConnectionManagerImpl implements ConnectionManager {\n+    private static Logger logger = Logger.getLogger(ConnectionManagerImpl.class);\n+\n+    @Override\n+    public Connection getConnection() {\n+        Connection connection = null;\n+        try {\n+            Class.forName(\"org.mysql.jdbc.Driver\");\n+            connection = DriverManager.getConnection(\"jdbc:mysql://sql7.freesqldatabase.com:3306/sql7239277\",\n+                    \"sql7239277\",\n+                    \"mrlvejF9z8\");\n+        } catch (ClassNotFoundException e) {\n+            logger.error(\"ClassNotFoundException. DB Conn. Message = \" + e.getMessage());","path":"src/main/java/ru/innopolis/saturn/connection/ConnectionManagerImpl.java","position":21,"original_position":21,"commit_id":"eab60cdd4db418af3e68a5faa0473db48b6517cd","original_commit_id":"eab60cdd4db418af3e68a5faa0473db48b6517cd","user":{"login":"mbiryukov","id":39493806,"avatar_url":"https://avatars0.githubusercontent.com/u/39493806?v=4","gravatar_id":"","url":"https://api.github.com/users/mbiryukov","html_url":"https://github.com/mbiryukov","followers_url":"https://api.github.com/users/mbiryukov/followers","following_url":"https://api.github.com/users/mbiryukov/following{/other_user}","gists_url":"https://api.github.com/users/mbiryukov/gists{/gist_id}","starred_url":"https://api.github.com/users/mbiryukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbiryukov/subscriptions","organizations_url":"https://api.github.com/users/mbiryukov/orgs","repos_url":"https://api.github.com/users/mbiryukov/repos","events_url":"https://api.github.com/users/mbiryukov/events{/privacy}","received_events_url":"https://api.github.com/users/mbiryukov/received_events","type":"User","site_admin":false},"body":"В чем разница в коде двух кетчей?","created_at":"2018-05-26T05:45:59Z","updated_at":"2018-05-26T05:46:52Z","html_url":"https://github.com/mbiryukov/stc-9-saturn/pull/3#discussion_r191040633","pull_request_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/pulls/3","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/mbiryukov/stc-9-saturn/pulls/comments/191040633"},"html":{"href":"https://github.com/mbiryukov/stc-9-saturn/pull/3#discussion_r191040633"},"pull_request":{"href":"https://api.github.com/repos/mbiryukov/stc-9-saturn/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/pulls/3","id":190322853,"html_url":"https://github.com/mbiryukov/stc-9-saturn/pull/3","diff_url":"https://github.com/mbiryukov/stc-9-saturn/pull/3.diff","patch_url":"https://github.com/mbiryukov/stc-9-saturn/pull/3.patch","issue_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/issues/3","number":3,"state":"open","locked":false,"title":"Feature st 10 html/jsp template","user":{"login":"AcidRain909","id":11140746,"avatar_url":"https://avatars1.githubusercontent.com/u/11140746?v=4","gravatar_id":"","url":"https://api.github.com/users/AcidRain909","html_url":"https://github.com/AcidRain909","followers_url":"https://api.github.com/users/AcidRain909/followers","following_url":"https://api.github.com/users/AcidRain909/following{/other_user}","gists_url":"https://api.github.com/users/AcidRain909/gists{/gist_id}","starred_url":"https://api.github.com/users/AcidRain909/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AcidRain909/subscriptions","organizations_url":"https://api.github.com/users/AcidRain909/orgs","repos_url":"https://api.github.com/users/AcidRain909/repos","events_url":"https://api.github.com/users/AcidRain909/events{/privacy}","received_events_url":"https://api.github.com/users/AcidRain909/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-24T15:05:05Z","updated_at":"2018-05-26T05:46:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"95608e372b62b428a51f53e1daad15e6e55413f4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/pulls/3/commits","review_comments_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/pulls/3/comments","review_comment_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/issues/3/comments","statuses_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/statuses/eab60cdd4db418af3e68a5faa0473db48b6517cd","head":{"label":"mbiryukov:feature-ST-10-HTML/JSP-template","ref":"feature-ST-10-HTML/JSP-template","sha":"eab60cdd4db418af3e68a5faa0473db48b6517cd","user":{"login":"mbiryukov","id":39493806,"avatar_url":"https://avatars0.githubusercontent.com/u/39493806?v=4","gravatar_id":"","url":"https://api.github.com/users/mbiryukov","html_url":"https://github.com/mbiryukov","followers_url":"https://api.github.com/users/mbiryukov/followers","following_url":"https://api.github.com/users/mbiryukov/following{/other_user}","gists_url":"https://api.github.com/users/mbiryukov/gists{/gist_id}","starred_url":"https://api.github.com/users/mbiryukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbiryukov/subscriptions","organizations_url":"https://api.github.com/users/mbiryukov/orgs","repos_url":"https://api.github.com/users/mbiryukov/repos","events_url":"https://api.github.com/users/mbiryukov/events{/privacy}","received_events_url":"https://api.github.com/users/mbiryukov/received_events","type":"User","site_admin":false},"repo":{"id":134389295,"name":"stc-9-saturn","full_name":"mbiryukov/stc-9-saturn","owner":{"login":"mbiryukov","id":39493806,"avatar_url":"https://avatars0.githubusercontent.com/u/39493806?v=4","gravatar_id":"","url":"https://api.github.com/users/mbiryukov","html_url":"https://github.com/mbiryukov","followers_url":"https://api.github.com/users/mbiryukov/followers","following_url":"https://api.github.com/users/mbiryukov/following{/other_user}","gists_url":"https://api.github.com/users/mbiryukov/gists{/gist_id}","starred_url":"https://api.github.com/users/mbiryukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbiryukov/subscriptions","organizations_url":"https://api.github.com/users/mbiryukov/orgs","repos_url":"https://api.github.com/users/mbiryukov/repos","events_url":"https://api.github.com/users/mbiryukov/events{/privacy}","received_events_url":"https://api.github.com/users/mbiryukov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mbiryukov/stc-9-saturn","description":null,"fork":false,"url":"https://api.github.com/repos/mbiryukov/stc-9-saturn","forks_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/forks","keys_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/teams","hooks_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/hooks","issue_events_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/issues/events{/number}","events_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/events","assignees_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/assignees{/user}","branches_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/branches{/branch}","tags_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/tags","blobs_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/statuses/{sha}","languages_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/languages","stargazers_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/stargazers","contributors_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/contributors","subscribers_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/subscribers","subscription_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/subscription","commits_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/contents/{+path}","compare_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/merges","archive_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/downloads","issues_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/issues{/number}","pulls_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/pulls{/number}","milestones_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/milestones{/number}","notifications_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/labels{/name}","releases_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/releases{/id}","deployments_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/deployments","created_at":"2018-05-22T09:07:08Z","updated_at":"2018-05-24T13:11:18Z","pushed_at":"2018-05-25T07:01:52Z","git_url":"git://github.com/mbiryukov/stc-9-saturn.git","ssh_url":"git@github.com:mbiryukov/stc-9-saturn.git","clone_url":"https://github.com/mbiryukov/stc-9-saturn.git","svn_url":"https://github.com/mbiryukov/stc-9-saturn","homepage":null,"size":340,"stargazers_count":1,"watchers_count":1,"language":"Java","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":2,"license":null,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"mbiryukov:develop","ref":"develop","sha":"bbeea18bf761f48531803e8036228fa416fa90f2","user":{"login":"mbiryukov","id":39493806,"avatar_url":"https://avatars0.githubusercontent.com/u/39493806?v=4","gravatar_id":"","url":"https://api.github.com/users/mbiryukov","html_url":"https://github.com/mbiryukov","followers_url":"https://api.github.com/users/mbiryukov/followers","following_url":"https://api.github.com/users/mbiryukov/following{/other_user}","gists_url":"https://api.github.com/users/mbiryukov/gists{/gist_id}","starred_url":"https://api.github.com/users/mbiryukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbiryukov/subscriptions","organizations_url":"https://api.github.com/users/mbiryukov/orgs","repos_url":"https://api.github.com/users/mbiryukov/repos","events_url":"https://api.github.com/users/mbiryukov/events{/privacy}","received_events_url":"https://api.github.com/users/mbiryukov/received_events","type":"User","site_admin":false},"repo":{"id":134389295,"name":"stc-9-saturn","full_name":"mbiryukov/stc-9-saturn","owner":{"login":"mbiryukov","id":39493806,"avatar_url":"https://avatars0.githubusercontent.com/u/39493806?v=4","gravatar_id":"","url":"https://api.github.com/users/mbiryukov","html_url":"https://github.com/mbiryukov","followers_url":"https://api.github.com/users/mbiryukov/followers","following_url":"https://api.github.com/users/mbiryukov/following{/other_user}","gists_url":"https://api.github.com/users/mbiryukov/gists{/gist_id}","starred_url":"https://api.github.com/users/mbiryukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbiryukov/subscriptions","organizations_url":"https://api.github.com/users/mbiryukov/orgs","repos_url":"https://api.github.com/users/mbiryukov/repos","events_url":"https://api.github.com/users/mbiryukov/events{/privacy}","received_events_url":"https://api.github.com/users/mbiryukov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mbiryukov/stc-9-saturn","description":null,"fork":false,"url":"https://api.github.com/repos/mbiryukov/stc-9-saturn","forks_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/forks","keys_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/teams","hooks_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/hooks","issue_events_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/issues/events{/number}","events_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/events","assignees_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/assignees{/user}","branches_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/branches{/branch}","tags_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/tags","blobs_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/statuses/{sha}","languages_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/languages","stargazers_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/stargazers","contributors_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/contributors","subscribers_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/subscribers","subscription_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/subscription","commits_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/contents/{+path}","compare_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/merges","archive_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/downloads","issues_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/issues{/number}","pulls_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/pulls{/number}","milestones_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/milestones{/number}","notifications_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/labels{/name}","releases_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/releases{/id}","deployments_url":"https://api.github.com/repos/mbiryukov/stc-9-saturn/deployments","created_at":"2018-05-22T09:07:08Z","updated_at":"2018-05-24T13:11:18Z","pushed_at":"2018-05-25T07:01:52Z","git_url":"git://github.com/mbiryukov/stc-9-saturn.git","ssh_url":"git@github.com:mbiryukov/stc-9-saturn.git","clone_url":"https://github.com/mbiryukov/stc-9-saturn.git","svn_url":"https://github.com/mbiryukov/stc-9-saturn","homepage":null,"size":340,"stargazers_count":1,"watchers_count":1,"language":"Java","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":2,"license":null,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mbiryukov/stc-9-saturn/pulls/3"},"html":{"href":"https://github.com/mbiryukov/stc-9-saturn/pull/3"},"issue":{"href":"https://api.github.com/repos/mbiryukov/stc-9-saturn/issues/3"},"comments":{"href":"https://api.github.com/repos/mbiryukov/stc-9-saturn/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/mbiryukov/stc-9-saturn/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/mbiryukov/stc-9-saturn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mbiryukov/stc-9-saturn/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/mbiryukov/stc-9-saturn/statuses/eab60cdd4db418af3e68a5faa0473db48b6517cd"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"mbiryukov"}}