{"action":"created","comment":{"url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/pulls/comments/54239125","id":54239125,"diff_hunk":"@@ -0,0 +1,20 @@\n+package topic0.Exercise4;\n+\n+public class ConnectionDirector {\n+\t\n+\tprivate ConnectionBuilder connectionBuilder = null;\n+\t\n+\tpublic ConnectionDirector(ConnectionBuilder connectionBuilder) {\n+\t\tthis.connectionBuilder = connectionBuilder;\n+\t}\n+\t\n+\tpublic void buildConnection() {\n+\t\tthis.connectionBuilder.buildDriver();\n+\t\tthis.connectionBuilder.buildDatabase();","path":"FranciscoCorrea/topic0/Exercise4/ConnectionDirector.java","position":13,"original_position":13,"commit_id":"a0c691980cf13f812cc1213cee8c5e3dcf43b1f7","original_commit_id":"a0c691980cf13f812cc1213cee8c5e3dcf43b1f7","user":{"login":"justomiguel","id":2671457,"avatar_url":"https://avatars.githubusercontent.com/u/2671457?v=3","gravatar_id":"","url":"https://api.github.com/users/justomiguel","html_url":"https://github.com/justomiguel","followers_url":"https://api.github.com/users/justomiguel/followers","following_url":"https://api.github.com/users/justomiguel/following{/other_user}","gists_url":"https://api.github.com/users/justomiguel/gists{/gist_id}","starred_url":"https://api.github.com/users/justomiguel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justomiguel/subscriptions","organizations_url":"https://api.github.com/users/justomiguel/orgs","repos_url":"https://api.github.com/users/justomiguel/repos","events_url":"https://api.github.com/users/justomiguel/events{/privacy}","received_events_url":"https://api.github.com/users/justomiguel/received_events","type":"User","site_admin":false},"body":"Para el builder es mejor asi https://jlordiales.wordpress.com/2012/12/13/the-builder-pattern-in-practice/","created_at":"2016-02-26T12:54:32Z","updated_at":"2016-02-26T12:54:32Z","html_url":"https://github.com/justomiguel/java-bootcamp-2016/pull/4#discussion_r54239125","pull_request_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/pulls/comments/54239125"},"html":{"href":"https://github.com/justomiguel/java-bootcamp-2016/pull/4#discussion_r54239125"},"pull_request":{"href":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/pulls/4","id":60585587,"html_url":"https://github.com/justomiguel/java-bootcamp-2016/pull/4","diff_url":"https://github.com/justomiguel/java-bootcamp-2016/pull/4.diff","patch_url":"https://github.com/justomiguel/java-bootcamp-2016/pull/4.patch","issue_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/issues/4","number":4,"state":"open","locked":false,"title":"Correa francisco topic0","user":{"login":"cactail","id":6946058,"avatar_url":"https://avatars.githubusercontent.com/u/6946058?v=3","gravatar_id":"","url":"https://api.github.com/users/cactail","html_url":"https://github.com/cactail","followers_url":"https://api.github.com/users/cactail/followers","following_url":"https://api.github.com/users/cactail/following{/other_user}","gists_url":"https://api.github.com/users/cactail/gists{/gist_id}","starred_url":"https://api.github.com/users/cactail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cactail/subscriptions","organizations_url":"https://api.github.com/users/cactail/orgs","repos_url":"https://api.github.com/users/cactail/repos","events_url":"https://api.github.com/users/cactail/events{/privacy}","received_events_url":"https://api.github.com/users/cactail/received_events","type":"User","site_admin":false},"body":"Topic 0 finished.","created_at":"2016-02-24T21:55:54Z","updated_at":"2016-02-26T12:54:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d5ee062744999e0e48f3490d40dc1f82c77ac527","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/pulls/4/commits","review_comments_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/pulls/4/comments","review_comment_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/pulls/comments{/number}","comments_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/issues/4/comments","statuses_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/statuses/a0c691980cf13f812cc1213cee8c5e3dcf43b1f7","head":{"label":"justomiguel:CorreaFrancisco-Topic0","ref":"CorreaFrancisco-Topic0","sha":"a0c691980cf13f812cc1213cee8c5e3dcf43b1f7","user":{"login":"justomiguel","id":2671457,"avatar_url":"https://avatars.githubusercontent.com/u/2671457?v=3","gravatar_id":"","url":"https://api.github.com/users/justomiguel","html_url":"https://github.com/justomiguel","followers_url":"https://api.github.com/users/justomiguel/followers","following_url":"https://api.github.com/users/justomiguel/following{/other_user}","gists_url":"https://api.github.com/users/justomiguel/gists{/gist_id}","starred_url":"https://api.github.com/users/justomiguel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justomiguel/subscriptions","organizations_url":"https://api.github.com/users/justomiguel/orgs","repos_url":"https://api.github.com/users/justomiguel/repos","events_url":"https://api.github.com/users/justomiguel/events{/privacy}","received_events_url":"https://api.github.com/users/justomiguel/received_events","type":"User","site_admin":false},"repo":{"id":52279894,"name":"java-bootcamp-2016","full_name":"justomiguel/java-bootcamp-2016","owner":{"login":"justomiguel","id":2671457,"avatar_url":"https://avatars.githubusercontent.com/u/2671457?v=3","gravatar_id":"","url":"https://api.github.com/users/justomiguel","html_url":"https://github.com/justomiguel","followers_url":"https://api.github.com/users/justomiguel/followers","following_url":"https://api.github.com/users/justomiguel/following{/other_user}","gists_url":"https://api.github.com/users/justomiguel/gists{/gist_id}","starred_url":"https://api.github.com/users/justomiguel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justomiguel/subscriptions","organizations_url":"https://api.github.com/users/justomiguel/orgs","repos_url":"https://api.github.com/users/justomiguel/repos","events_url":"https://api.github.com/users/justomiguel/events{/privacy}","received_events_url":"https://api.github.com/users/justomiguel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/justomiguel/java-bootcamp-2016","description":"","fork":true,"url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016","forks_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/forks","keys_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/teams","hooks_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/hooks","issue_events_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/issues/events{/number}","events_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/events","assignees_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/assignees{/user}","branches_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/branches{/branch}","tags_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/tags","blobs_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/statuses/{sha}","languages_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/languages","stargazers_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/stargazers","contributors_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/contributors","subscribers_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/subscribers","subscription_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/subscription","commits_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/contents/{+path}","compare_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/merges","archive_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/downloads","issues_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/issues{/number}","pulls_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/pulls{/number}","milestones_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/milestones{/number}","notifications_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/labels{/name}","releases_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/releases{/id}","deployments_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/deployments","created_at":"2016-02-22T14:41:29Z","updated_at":"2016-02-24T22:23:13Z","pushed_at":"2016-02-25T20:33:01Z","git_url":"git://github.com/justomiguel/java-bootcamp-2016.git","ssh_url":"git@github.com:justomiguel/java-bootcamp-2016.git","clone_url":"https://github.com/justomiguel/java-bootcamp-2016.git","svn_url":"https://github.com/justomiguel/java-bootcamp-2016","homepage":null,"size":7201,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"justomiguel:master","ref":"master","sha":"4e128147a097cfa0596f55c46bf1c251a1624407","user":{"login":"justomiguel","id":2671457,"avatar_url":"https://avatars.githubusercontent.com/u/2671457?v=3","gravatar_id":"","url":"https://api.github.com/users/justomiguel","html_url":"https://github.com/justomiguel","followers_url":"https://api.github.com/users/justomiguel/followers","following_url":"https://api.github.com/users/justomiguel/following{/other_user}","gists_url":"https://api.github.com/users/justomiguel/gists{/gist_id}","starred_url":"https://api.github.com/users/justomiguel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justomiguel/subscriptions","organizations_url":"https://api.github.com/users/justomiguel/orgs","repos_url":"https://api.github.com/users/justomiguel/repos","events_url":"https://api.github.com/users/justomiguel/events{/privacy}","received_events_url":"https://api.github.com/users/justomiguel/received_events","type":"User","site_admin":false},"repo":{"id":52279894,"name":"java-bootcamp-2016","full_name":"justomiguel/java-bootcamp-2016","owner":{"login":"justomiguel","id":2671457,"avatar_url":"https://avatars.githubusercontent.com/u/2671457?v=3","gravatar_id":"","url":"https://api.github.com/users/justomiguel","html_url":"https://github.com/justomiguel","followers_url":"https://api.github.com/users/justomiguel/followers","following_url":"https://api.github.com/users/justomiguel/following{/other_user}","gists_url":"https://api.github.com/users/justomiguel/gists{/gist_id}","starred_url":"https://api.github.com/users/justomiguel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justomiguel/subscriptions","organizations_url":"https://api.github.com/users/justomiguel/orgs","repos_url":"https://api.github.com/users/justomiguel/repos","events_url":"https://api.github.com/users/justomiguel/events{/privacy}","received_events_url":"https://api.github.com/users/justomiguel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/justomiguel/java-bootcamp-2016","description":"","fork":true,"url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016","forks_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/forks","keys_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/teams","hooks_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/hooks","issue_events_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/issues/events{/number}","events_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/events","assignees_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/assignees{/user}","branches_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/branches{/branch}","tags_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/tags","blobs_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/git/refs{/sha}","trees_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/statuses/{sha}","languages_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/languages","stargazers_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/stargazers","contributors_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/contributors","subscribers_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/subscribers","subscription_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/subscription","commits_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/commits{/sha}","git_commits_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/git/commits{/sha}","comments_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/comments{/number}","issue_comment_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/issues/comments{/number}","contents_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/contents/{+path}","compare_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/merges","archive_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/downloads","issues_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/issues{/number}","pulls_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/pulls{/number}","milestones_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/milestones{/number}","notifications_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/labels{/name}","releases_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/releases{/id}","deployments_url":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/deployments","created_at":"2016-02-22T14:41:29Z","updated_at":"2016-02-24T22:23:13Z","pushed_at":"2016-02-25T20:33:01Z","git_url":"git://github.com/justomiguel/java-bootcamp-2016.git","ssh_url":"git@github.com:justomiguel/java-bootcamp-2016.git","clone_url":"https://github.com/justomiguel/java-bootcamp-2016.git","svn_url":"https://github.com/justomiguel/java-bootcamp-2016","homepage":null,"size":7201,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/pulls/4"},"html":{"href":"https://github.com/justomiguel/java-bootcamp-2016/pull/4"},"issue":{"href":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/issues/4"},"comments":{"href":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/justomiguel/java-bootcamp-2016/statuses/a0c691980cf13f812cc1213cee8c5e3dcf43b1f7"}}}}