{"action":"created","comment":{"url":"https://api.github.com/repos/CSC59939/Study-Booster/pulls/comments/237382813","pull_request_review_id":179664607,"id":237382813,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzM4MjgxMw==","diff_hunk":"@@ -0,0 +1,84 @@\n+package com.StudyBooster.Misc;\n+\n+import java.sql.Time;\n+import java.util.GregorianCalendar;\n+import java.util.Random;\n+\n+import javax.inject.Named;\n+\n+@Named(\"myRand\")\n+public class MyRand\n+{\n+\n+\tString SALTCHARS;\n+\n+\tpublic MyRand()\n+\t{\n+\t\tSALTCHARS = \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890\";\n+\t}\n+\n+\tpublic String randomString(int lenght)\n+\t{\n+\t\tStringBuilder eventProperty = new StringBuilder();\n+\t\tRandom rnd = new Random();","path":"StudyBoosterEJB/src/main/java/com/StudyBooster/Misc/MyRand.java","position":23,"original_position":23,"commit_id":"a92b93c17e57312d9c0ad7c5216ac5f3b391330b","original_commit_id":"a92b93c17e57312d9c0ad7c5216ac5f3b391330b","user":{"login":"francisco-springer","id":44881560,"node_id":"MDQ6VXNlcjQ0ODgxNTYw","avatar_url":"https://avatars1.githubusercontent.com/u/44881560?v=4","gravatar_id":"","url":"https://api.github.com/users/francisco-springer","html_url":"https://github.com/francisco-springer","followers_url":"https://api.github.com/users/francisco-springer/followers","following_url":"https://api.github.com/users/francisco-springer/following{/other_user}","gists_url":"https://api.github.com/users/francisco-springer/gists{/gist_id}","starred_url":"https://api.github.com/users/francisco-springer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francisco-springer/subscriptions","organizations_url":"https://api.github.com/users/francisco-springer/orgs","repos_url":"https://api.github.com/users/francisco-springer/repos","events_url":"https://api.github.com/users/francisco-springer/events{/privacy}","received_events_url":"https://api.github.com/users/francisco-springer/received_events","type":"User","site_admin":false},"body":"I see Sir, that way the injected class does not have to redefine the rnd object in each method, cool.","created_at":"2018-11-29T08:01:58Z","updated_at":"2018-11-29T08:01:58Z","html_url":"https://github.com/CSC59939/Study-Booster/pull/6#discussion_r237382813","pull_request_url":"https://api.github.com/repos/CSC59939/Study-Booster/pulls/6","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/CSC59939/Study-Booster/pulls/comments/237382813"},"html":{"href":"https://github.com/CSC59939/Study-Booster/pull/6#discussion_r237382813"},"pull_request":{"href":"https://api.github.com/repos/CSC59939/Study-Booster/pulls/6"}},"in_reply_to_id":236011437},"pull_request":{"url":"https://api.github.com/repos/CSC59939/Study-Booster/pulls/6","id":232790442,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNzkwNDQy","html_url":"https://github.com/CSC59939/Study-Booster/pull/6","diff_url":"https://github.com/CSC59939/Study-Booster/pull/6.diff","patch_url":"https://github.com/CSC59939/Study-Booster/pull/6.patch","issue_url":"https://api.github.com/repos/CSC59939/Study-Booster/issues/6","number":6,"state":"open","locked":false,"title":"Iteration1 dev fs","user":{"login":"francisco-springer","id":44881560,"node_id":"MDQ6VXNlcjQ0ODgxNTYw","avatar_url":"https://avatars1.githubusercontent.com/u/44881560?v=4","gravatar_id":"","url":"https://api.github.com/users/francisco-springer","html_url":"https://github.com/francisco-springer","followers_url":"https://api.github.com/users/francisco-springer/followers","following_url":"https://api.github.com/users/francisco-springer/following{/other_user}","gists_url":"https://api.github.com/users/francisco-springer/gists{/gist_id}","starred_url":"https://api.github.com/users/francisco-springer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francisco-springer/subscriptions","organizations_url":"https://api.github.com/users/francisco-springer/orgs","repos_url":"https://api.github.com/users/francisco-springer/repos","events_url":"https://api.github.com/users/francisco-springer/events{/privacy}","received_events_url":"https://api.github.com/users/francisco-springer/received_events","type":"User","site_admin":false},"body":"creating pull request to make it easier to comment on changes.","created_at":"2018-11-21T20:30:11Z","updated_at":"2018-11-29T08:01:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"30674e7bef7c3bdbff3d3b9274fdc6506caf00d3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/CSC59939/Study-Booster/milestones/1","html_url":"https://github.com/CSC59939/Study-Booster/milestone/1","labels_url":"https://api.github.com/repos/CSC59939/Study-Booster/milestones/1/labels","id":3828004,"node_id":"MDk6TWlsZXN0b25lMzgyODAwNA==","number":1,"title":"Study Booster Iteration 1","description":"Createa a maven's pom project. Create a maven's web module to handle web request. Web module should contain a main page with a header, context and footer components. Header's component includes page logo link, login link, register link. Context's component includes search engine, breadcrumb, events card in tabular format. Footer's component includes customer's links and company's links. Create a maven's JPA module for db queries. Create a mave's EJB module for business logic.","creator":{"login":"francisco-springer","id":44881560,"node_id":"MDQ6VXNlcjQ0ODgxNTYw","avatar_url":"https://avatars1.githubusercontent.com/u/44881560?v=4","gravatar_id":"","url":"https://api.github.com/users/francisco-springer","html_url":"https://github.com/francisco-springer","followers_url":"https://api.github.com/users/francisco-springer/followers","following_url":"https://api.github.com/users/francisco-springer/following{/other_user}","gists_url":"https://api.github.com/users/francisco-springer/gists{/gist_id}","starred_url":"https://api.github.com/users/francisco-springer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francisco-springer/subscriptions","organizations_url":"https://api.github.com/users/francisco-springer/orgs","repos_url":"https://api.github.com/users/francisco-springer/repos","events_url":"https://api.github.com/users/francisco-springer/events{/privacy}","received_events_url":"https://api.github.com/users/francisco-springer/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":0,"state":"open","created_at":"2018-11-17T03:29:05Z","updated_at":"2018-11-23T18:20:50Z","due_on":"2018-11-21T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/CSC59939/Study-Booster/pulls/6/commits","review_comments_url":"https://api.github.com/repos/CSC59939/Study-Booster/pulls/6/comments","review_comment_url":"https://api.github.com/repos/CSC59939/Study-Booster/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CSC59939/Study-Booster/issues/6/comments","statuses_url":"https://api.github.com/repos/CSC59939/Study-Booster/statuses/a92b93c17e57312d9c0ad7c5216ac5f3b391330b","head":{"label":"CSC59939:iteration1_Dev_FS","ref":"iteration1_Dev_FS","sha":"a92b93c17e57312d9c0ad7c5216ac5f3b391330b","user":{"login":"CSC59939","id":37023903,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MDIzOTAz","avatar_url":"https://avatars1.githubusercontent.com/u/37023903?v=4","gravatar_id":"","url":"https://api.github.com/users/CSC59939","html_url":"https://github.com/CSC59939","followers_url":"https://api.github.com/users/CSC59939/followers","following_url":"https://api.github.com/users/CSC59939/following{/other_user}","gists_url":"https://api.github.com/users/CSC59939/gists{/gist_id}","starred_url":"https://api.github.com/users/CSC59939/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSC59939/subscriptions","organizations_url":"https://api.github.com/users/CSC59939/orgs","repos_url":"https://api.github.com/users/CSC59939/repos","events_url":"https://api.github.com/users/CSC59939/events{/privacy}","received_events_url":"https://api.github.com/users/CSC59939/received_events","type":"Organization","site_admin":false},"repo":{"id":157944631,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc5NDQ2MzE=","name":"Study-Booster","full_name":"CSC59939/Study-Booster","private":false,"owner":{"login":"CSC59939","id":37023903,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MDIzOTAz","avatar_url":"https://avatars1.githubusercontent.com/u/37023903?v=4","gravatar_id":"","url":"https://api.github.com/users/CSC59939","html_url":"https://github.com/CSC59939","followers_url":"https://api.github.com/users/CSC59939/followers","following_url":"https://api.github.com/users/CSC59939/following{/other_user}","gists_url":"https://api.github.com/users/CSC59939/gists{/gist_id}","starred_url":"https://api.github.com/users/CSC59939/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSC59939/subscriptions","organizations_url":"https://api.github.com/users/CSC59939/orgs","repos_url":"https://api.github.com/users/CSC59939/repos","events_url":"https://api.github.com/users/CSC59939/events{/privacy}","received_events_url":"https://api.github.com/users/CSC59939/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/CSC59939/Study-Booster","description":"Java EE app that creates students events.","fork":false,"url":"https://api.github.com/repos/CSC59939/Study-Booster","forks_url":"https://api.github.com/repos/CSC59939/Study-Booster/forks","keys_url":"https://api.github.com/repos/CSC59939/Study-Booster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CSC59939/Study-Booster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CSC59939/Study-Booster/teams","hooks_url":"https://api.github.com/repos/CSC59939/Study-Booster/hooks","issue_events_url":"https://api.github.com/repos/CSC59939/Study-Booster/issues/events{/number}","events_url":"https://api.github.com/repos/CSC59939/Study-Booster/events","assignees_url":"https://api.github.com/repos/CSC59939/Study-Booster/assignees{/user}","branches_url":"https://api.github.com/repos/CSC59939/Study-Booster/branches{/branch}","tags_url":"https://api.github.com/repos/CSC59939/Study-Booster/tags","blobs_url":"https://api.github.com/repos/CSC59939/Study-Booster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CSC59939/Study-Booster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CSC59939/Study-Booster/git/refs{/sha}","trees_url":"https://api.github.com/repos/CSC59939/Study-Booster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CSC59939/Study-Booster/statuses/{sha}","languages_url":"https://api.github.com/repos/CSC59939/Study-Booster/languages","stargazers_url":"https://api.github.com/repos/CSC59939/Study-Booster/stargazers","contributors_url":"https://api.github.com/repos/CSC59939/Study-Booster/contributors","subscribers_url":"https://api.github.com/repos/CSC59939/Study-Booster/subscribers","subscription_url":"https://api.github.com/repos/CSC59939/Study-Booster/subscription","commits_url":"https://api.github.com/repos/CSC59939/Study-Booster/commits{/sha}","git_commits_url":"https://api.github.com/repos/CSC59939/Study-Booster/git/commits{/sha}","comments_url":"https://api.github.com/repos/CSC59939/Study-Booster/comments{/number}","issue_comment_url":"https://api.github.com/repos/CSC59939/Study-Booster/issues/comments{/number}","contents_url":"https://api.github.com/repos/CSC59939/Study-Booster/contents/{+path}","compare_url":"https://api.github.com/repos/CSC59939/Study-Booster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CSC59939/Study-Booster/merges","archive_url":"https://api.github.com/repos/CSC59939/Study-Booster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CSC59939/Study-Booster/downloads","issues_url":"https://api.github.com/repos/CSC59939/Study-Booster/issues{/number}","pulls_url":"https://api.github.com/repos/CSC59939/Study-Booster/pulls{/number}","milestones_url":"https://api.github.com/repos/CSC59939/Study-Booster/milestones{/number}","notifications_url":"https://api.github.com/repos/CSC59939/Study-Booster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CSC59939/Study-Booster/labels{/name}","releases_url":"https://api.github.com/repos/CSC59939/Study-Booster/releases{/id}","deployments_url":"https://api.github.com/repos/CSC59939/Study-Booster/deployments","created_at":"2018-11-17T02:49:41Z","updated_at":"2018-11-23T18:24:47Z","pushed_at":"2018-11-29T07:21:17Z","git_url":"git://github.com/CSC59939/Study-Booster.git","ssh_url":"git@github.com:CSC59939/Study-Booster.git","clone_url":"https://github.com/CSC59939/Study-Booster.git","svn_url":"https://github.com/CSC59939/Study-Booster","homepage":null,"size":422,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":16,"license":null,"forks":1,"open_issues":16,"watchers":0,"default_branch":"master"}},"base":{"label":"CSC59939:master","ref":"master","sha":"5405967ac00dd0b58811e6abbcf3451dc1e05a4a","user":{"login":"CSC59939","id":37023903,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MDIzOTAz","avatar_url":"https://avatars1.githubusercontent.com/u/37023903?v=4","gravatar_id":"","url":"https://api.github.com/users/CSC59939","html_url":"https://github.com/CSC59939","followers_url":"https://api.github.com/users/CSC59939/followers","following_url":"https://api.github.com/users/CSC59939/following{/other_user}","gists_url":"https://api.github.com/users/CSC59939/gists{/gist_id}","starred_url":"https://api.github.com/users/CSC59939/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSC59939/subscriptions","organizations_url":"https://api.github.com/users/CSC59939/orgs","repos_url":"https://api.github.com/users/CSC59939/repos","events_url":"https://api.github.com/users/CSC59939/events{/privacy}","received_events_url":"https://api.github.com/users/CSC59939/received_events","type":"Organization","site_admin":false},"repo":{"id":157944631,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc5NDQ2MzE=","name":"Study-Booster","full_name":"CSC59939/Study-Booster","private":false,"owner":{"login":"CSC59939","id":37023903,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM3MDIzOTAz","avatar_url":"https://avatars1.githubusercontent.com/u/37023903?v=4","gravatar_id":"","url":"https://api.github.com/users/CSC59939","html_url":"https://github.com/CSC59939","followers_url":"https://api.github.com/users/CSC59939/followers","following_url":"https://api.github.com/users/CSC59939/following{/other_user}","gists_url":"https://api.github.com/users/CSC59939/gists{/gist_id}","starred_url":"https://api.github.com/users/CSC59939/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSC59939/subscriptions","organizations_url":"https://api.github.com/users/CSC59939/orgs","repos_url":"https://api.github.com/users/CSC59939/repos","events_url":"https://api.github.com/users/CSC59939/events{/privacy}","received_events_url":"https://api.github.com/users/CSC59939/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/CSC59939/Study-Booster","description":"Java EE app that creates students events.","fork":false,"url":"https://api.github.com/repos/CSC59939/Study-Booster","forks_url":"https://api.github.com/repos/CSC59939/Study-Booster/forks","keys_url":"https://api.github.com/repos/CSC59939/Study-Booster/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CSC59939/Study-Booster/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CSC59939/Study-Booster/teams","hooks_url":"https://api.github.com/repos/CSC59939/Study-Booster/hooks","issue_events_url":"https://api.github.com/repos/CSC59939/Study-Booster/issues/events{/number}","events_url":"https://api.github.com/repos/CSC59939/Study-Booster/events","assignees_url":"https://api.github.com/repos/CSC59939/Study-Booster/assignees{/user}","branches_url":"https://api.github.com/repos/CSC59939/Study-Booster/branches{/branch}","tags_url":"https://api.github.com/repos/CSC59939/Study-Booster/tags","blobs_url":"https://api.github.com/repos/CSC59939/Study-Booster/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CSC59939/Study-Booster/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CSC59939/Study-Booster/git/refs{/sha}","trees_url":"https://api.github.com/repos/CSC59939/Study-Booster/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CSC59939/Study-Booster/statuses/{sha}","languages_url":"https://api.github.com/repos/CSC59939/Study-Booster/languages","stargazers_url":"https://api.github.com/repos/CSC59939/Study-Booster/stargazers","contributors_url":"https://api.github.com/repos/CSC59939/Study-Booster/contributors","subscribers_url":"https://api.github.com/repos/CSC59939/Study-Booster/subscribers","subscription_url":"https://api.github.com/repos/CSC59939/Study-Booster/subscription","commits_url":"https://api.github.com/repos/CSC59939/Study-Booster/commits{/sha}","git_commits_url":"https://api.github.com/repos/CSC59939/Study-Booster/git/commits{/sha}","comments_url":"https://api.github.com/repos/CSC59939/Study-Booster/comments{/number}","issue_comment_url":"https://api.github.com/repos/CSC59939/Study-Booster/issues/comments{/number}","contents_url":"https://api.github.com/repos/CSC59939/Study-Booster/contents/{+path}","compare_url":"https://api.github.com/repos/CSC59939/Study-Booster/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CSC59939/Study-Booster/merges","archive_url":"https://api.github.com/repos/CSC59939/Study-Booster/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CSC59939/Study-Booster/downloads","issues_url":"https://api.github.com/repos/CSC59939/Study-Booster/issues{/number}","pulls_url":"https://api.github.com/repos/CSC59939/Study-Booster/pulls{/number}","milestones_url":"https://api.github.com/repos/CSC59939/Study-Booster/milestones{/number}","notifications_url":"https://api.github.com/repos/CSC59939/Study-Booster/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CSC59939/Study-Booster/labels{/name}","releases_url":"https://api.github.com/repos/CSC59939/Study-Booster/releases{/id}","deployments_url":"https://api.github.com/repos/CSC59939/Study-Booster/deployments","created_at":"2018-11-17T02:49:41Z","updated_at":"2018-11-23T18:24:47Z","pushed_at":"2018-11-29T07:21:17Z","git_url":"git://github.com/CSC59939/Study-Booster.git","ssh_url":"git@github.com:CSC59939/Study-Booster.git","clone_url":"https://github.com/CSC59939/Study-Booster.git","svn_url":"https://github.com/CSC59939/Study-Booster","homepage":null,"size":422,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":16,"license":null,"forks":1,"open_issues":16,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CSC59939/Study-Booster/pulls/6"},"html":{"href":"https://github.com/CSC59939/Study-Booster/pull/6"},"issue":{"href":"https://api.github.com/repos/CSC59939/Study-Booster/issues/6"},"comments":{"href":"https://api.github.com/repos/CSC59939/Study-Booster/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/CSC59939/Study-Booster/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/CSC59939/Study-Booster/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CSC59939/Study-Booster/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/CSC59939/Study-Booster/statuses/a92b93c17e57312d9c0ad7c5216ac5f3b391330b"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"francisco-springer"}}