{"action":"created","comment":{"url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/pulls/comments/25510017","id":25510017,"diff_hunk":"@@ -0,0 +1,117 @@\n+package classes;\r\n+\r\n+import java.awt.Image;\r\n+import java.util.ArrayList;\r\n+import java.util.Iterator;\r\n+import java.util.List;\r\n+import interfaces.UserService;\r\n+\r\n+public class WebUserService implements UserService {\r\n+\r\n+\tprivate List<WebUser> users;\r\n+\r\n+\tpublic WebUserService() {\r\n+\t\tusers = new ArrayList<WebUser>();\r\n+\t}\r\n+\r\n+\t@Override\r\n+\tpublic WebUserServiceResult createUser(String mail, String password, String name, String lastName) {\r\n+\t\tWebUser user = readUser(mail);\r\n+\t\tWebUserServiceResult result;\r","path":"Topic4/src/classes/WebUserService.java","position":20,"original_position":20,"commit_id":"975f0f13493333c79c26d6e6f34e6ade99914bc0","original_commit_id":"975f0f13493333c79c26d6e6f34e6ade99914bc0","user":{"login":"amilcar-infante","id":2864223,"avatar_url":"https://avatars.githubusercontent.com/u/2864223?v=3","gravatar_id":"","url":"https://api.github.com/users/amilcar-infante","html_url":"https://github.com/amilcar-infante","followers_url":"https://api.github.com/users/amilcar-infante/followers","following_url":"https://api.github.com/users/amilcar-infante/following{/other_user}","gists_url":"https://api.github.com/users/amilcar-infante/gists{/gist_id}","starred_url":"https://api.github.com/users/amilcar-infante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amilcar-infante/subscriptions","organizations_url":"https://api.github.com/users/amilcar-infante/orgs","repos_url":"https://api.github.com/users/amilcar-infante/repos","events_url":"https://api.github.com/users/amilcar-infante/events{/privacy}","received_events_url":"https://api.github.com/users/amilcar-infante/received_events","type":"User","site_admin":false},"body":"Another option could be to set in this line the fail WebUserServiceResult to avoid the need to have an else below (it's only a comment, you don't need to change it)\r\nWebUserServiceResult result = new WebUserServiceResult(1, \"Fail, existent user\");","created_at":"2015-02-27T14:40:10Z","updated_at":"2015-02-27T14:40:10Z","html_url":"https://github.com/lucast-globant/java-bootcamp-bahia/pull/61#discussion_r25510017","pull_request_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/pulls/61","_links":{"self":{"href":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/pulls/comments/25510017"},"html":{"href":"https://github.com/lucast-globant/java-bootcamp-bahia/pull/61#discussion_r25510017"},"pull_request":{"href":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/pulls/61"}}},"pull_request":{"url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/pulls/61","id":30020527,"html_url":"https://github.com/lucast-globant/java-bootcamp-bahia/pull/61","diff_url":"https://github.com/lucast-globant/java-bootcamp-bahia/pull/61.diff","patch_url":"https://github.com/lucast-globant/java-bootcamp-bahia/pull/61.patch","issue_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/issues/61","number":61,"state":"open","locked":false,"title":"Topic 4!","user":{"login":"aguirre-luciano","id":10944841,"avatar_url":"https://avatars.githubusercontent.com/u/10944841?v=3","gravatar_id":"","url":"https://api.github.com/users/aguirre-luciano","html_url":"https://github.com/aguirre-luciano","followers_url":"https://api.github.com/users/aguirre-luciano/followers","following_url":"https://api.github.com/users/aguirre-luciano/following{/other_user}","gists_url":"https://api.github.com/users/aguirre-luciano/gists{/gist_id}","starred_url":"https://api.github.com/users/aguirre-luciano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aguirre-luciano/subscriptions","organizations_url":"https://api.github.com/users/aguirre-luciano/orgs","repos_url":"https://api.github.com/users/aguirre-luciano/repos","events_url":"https://api.github.com/users/aguirre-luciano/events{/privacy}","received_events_url":"https://api.github.com/users/aguirre-luciano/received_events","type":"User","site_admin":false},"body":"Topic 4","created_at":"2015-02-25T20:05:37Z","updated_at":"2015-02-27T14:40:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"97748117c128110309ea647389bba3c3509694ab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/pulls/61/commits","review_comments_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/pulls/61/comments","review_comment_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/issues/61/comments","statuses_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/statuses/975f0f13493333c79c26d6e6f34e6ade99914bc0","head":{"label":"aguirre-luciano:Topic4","ref":"Topic4","sha":"975f0f13493333c79c26d6e6f34e6ade99914bc0","user":{"login":"aguirre-luciano","id":10944841,"avatar_url":"https://avatars.githubusercontent.com/u/10944841?v=3","gravatar_id":"","url":"https://api.github.com/users/aguirre-luciano","html_url":"https://github.com/aguirre-luciano","followers_url":"https://api.github.com/users/aguirre-luciano/followers","following_url":"https://api.github.com/users/aguirre-luciano/following{/other_user}","gists_url":"https://api.github.com/users/aguirre-luciano/gists{/gist_id}","starred_url":"https://api.github.com/users/aguirre-luciano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aguirre-luciano/subscriptions","organizations_url":"https://api.github.com/users/aguirre-luciano/orgs","repos_url":"https://api.github.com/users/aguirre-luciano/repos","events_url":"https://api.github.com/users/aguirre-luciano/events{/privacy}","received_events_url":"https://api.github.com/users/aguirre-luciano/received_events","type":"User","site_admin":false},"repo":{"id":30603293,"name":"java-bootcamp-bahia","full_name":"aguirre-luciano/java-bootcamp-bahia","owner":{"login":"aguirre-luciano","id":10944841,"avatar_url":"https://avatars.githubusercontent.com/u/10944841?v=3","gravatar_id":"","url":"https://api.github.com/users/aguirre-luciano","html_url":"https://github.com/aguirre-luciano","followers_url":"https://api.github.com/users/aguirre-luciano/followers","following_url":"https://api.github.com/users/aguirre-luciano/following{/other_user}","gists_url":"https://api.github.com/users/aguirre-luciano/gists{/gist_id}","starred_url":"https://api.github.com/users/aguirre-luciano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aguirre-luciano/subscriptions","organizations_url":"https://api.github.com/users/aguirre-luciano/orgs","repos_url":"https://api.github.com/users/aguirre-luciano/repos","events_url":"https://api.github.com/users/aguirre-luciano/events{/privacy}","received_events_url":"https://api.github.com/users/aguirre-luciano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aguirre-luciano/java-bootcamp-bahia","description":"Java Bootcamp","fork":true,"url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia","forks_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/forks","keys_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/teams","hooks_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/hooks","issue_events_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/issues/events{/number}","events_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/events","assignees_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/assignees{/user}","branches_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/branches{/branch}","tags_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/tags","blobs_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/git/refs{/sha}","trees_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/statuses/{sha}","languages_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/languages","stargazers_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/stargazers","contributors_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/contributors","subscribers_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/subscribers","subscription_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/subscription","commits_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/commits{/sha}","git_commits_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/git/commits{/sha}","comments_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/comments{/number}","issue_comment_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/issues/comments{/number}","contents_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/contents/{+path}","compare_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/merges","archive_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/downloads","issues_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/issues{/number}","pulls_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/pulls{/number}","milestones_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/milestones{/number}","notifications_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/labels{/name}","releases_url":"https://api.github.com/repos/aguirre-luciano/java-bootcamp-bahia/releases{/id}","created_at":"2015-02-10T17:05:23Z","updated_at":"2015-02-09T20:25:56Z","pushed_at":"2015-02-26T21:42:51Z","git_url":"git://github.com/aguirre-luciano/java-bootcamp-bahia.git","ssh_url":"git@github.com:aguirre-luciano/java-bootcamp-bahia.git","clone_url":"https://github.com/aguirre-luciano/java-bootcamp-bahia.git","svn_url":"https://github.com/aguirre-luciano/java-bootcamp-bahia","homepage":null,"size":266,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lucast-globant:master","ref":"master","sha":"948b30a6e222dbba3e817efbcae98c4812a40b15","user":{"login":"lucast-globant","id":10869512,"avatar_url":"https://avatars.githubusercontent.com/u/10869512?v=3","gravatar_id":"","url":"https://api.github.com/users/lucast-globant","html_url":"https://github.com/lucast-globant","followers_url":"https://api.github.com/users/lucast-globant/followers","following_url":"https://api.github.com/users/lucast-globant/following{/other_user}","gists_url":"https://api.github.com/users/lucast-globant/gists{/gist_id}","starred_url":"https://api.github.com/users/lucast-globant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucast-globant/subscriptions","organizations_url":"https://api.github.com/users/lucast-globant/orgs","repos_url":"https://api.github.com/users/lucast-globant/repos","events_url":"https://api.github.com/users/lucast-globant/events{/privacy}","received_events_url":"https://api.github.com/users/lucast-globant/received_events","type":"User","site_admin":false},"repo":{"id":30368310,"name":"java-bootcamp-bahia","full_name":"lucast-globant/java-bootcamp-bahia","owner":{"login":"lucast-globant","id":10869512,"avatar_url":"https://avatars.githubusercontent.com/u/10869512?v=3","gravatar_id":"","url":"https://api.github.com/users/lucast-globant","html_url":"https://github.com/lucast-globant","followers_url":"https://api.github.com/users/lucast-globant/followers","following_url":"https://api.github.com/users/lucast-globant/following{/other_user}","gists_url":"https://api.github.com/users/lucast-globant/gists{/gist_id}","starred_url":"https://api.github.com/users/lucast-globant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucast-globant/subscriptions","organizations_url":"https://api.github.com/users/lucast-globant/orgs","repos_url":"https://api.github.com/users/lucast-globant/repos","events_url":"https://api.github.com/users/lucast-globant/events{/privacy}","received_events_url":"https://api.github.com/users/lucast-globant/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucast-globant/java-bootcamp-bahia","description":"Java Bootcamp","fork":true,"url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia","forks_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/forks","keys_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/teams","hooks_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/hooks","issue_events_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/issues/events{/number}","events_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/events","assignees_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/assignees{/user}","branches_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/branches{/branch}","tags_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/tags","blobs_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/statuses/{sha}","languages_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/languages","stargazers_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/stargazers","contributors_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/contributors","subscribers_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/subscribers","subscription_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/subscription","commits_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/contents/{+path}","compare_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/merges","archive_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/downloads","issues_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/issues{/number}","pulls_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/pulls{/number}","milestones_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/milestones{/number}","notifications_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/labels{/name}","releases_url":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/releases{/id}","created_at":"2015-02-05T17:27:42Z","updated_at":"2015-02-19T01:20:36Z","pushed_at":"2015-02-10T13:31:28Z","git_url":"git://github.com/lucast-globant/java-bootcamp-bahia.git","ssh_url":"git@github.com:lucast-globant/java-bootcamp-bahia.git","clone_url":"https://github.com/lucast-globant/java-bootcamp-bahia.git","svn_url":"https://github.com/lucast-globant/java-bootcamp-bahia","homepage":null,"size":278,"stargazers_count":2,"watchers_count":2,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":37,"forks":15,"open_issues":37,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/pulls/61"},"html":{"href":"https://github.com/lucast-globant/java-bootcamp-bahia/pull/61"},"issue":{"href":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/issues/61"},"comments":{"href":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/lucast-globant/java-bootcamp-bahia/statuses/975f0f13493333c79c26d6e6f34e6ade99914bc0"}}}}