{"action":"opened","number":340,"pull_request":{"url":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/340","id":54984381,"html_url":"https://github.com/iluwatar/java-design-patterns/pull/340","diff_url":"https://github.com/iluwatar/java-design-patterns/pull/340.diff","patch_url":"https://github.com/iluwatar/java-design-patterns/pull/340.patch","issue_url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/340","number":340,"state":"open","locked":false,"title":"Decorator pattern: SmartTroll should be SmartHostile #264","user":{"login":"tomroy","id":6628057,"avatar_url":"https://avatars.githubusercontent.com/u/6628057?v=3","gravatar_id":"","url":"https://api.github.com/users/tomroy","html_url":"https://github.com/tomroy","followers_url":"https://api.github.com/users/tomroy/followers","following_url":"https://api.github.com/users/tomroy/following{/other_user}","gists_url":"https://api.github.com/users/tomroy/gists{/gist_id}","starred_url":"https://api.github.com/users/tomroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomroy/subscriptions","organizations_url":"https://api.github.com/users/tomroy/orgs","repos_url":"https://api.github.com/users/tomroy/repos","events_url":"https://api.github.com/users/tomroy/events{/privacy}","received_events_url":"https://api.github.com/users/tomroy/received_events","type":"User","site_admin":false},"body":"In this request I renamed the SmartTroll-class to SmartHostile and replaced the hardcoded strings in that class to \"It throws a rock at you!\".\r\nI also updated the class naming in the UML digram.","created_at":"2016-01-04T15:12:59Z","updated_at":"2016-01-04T15:12:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/340/commits","review_comments_url":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/340/comments","review_comment_url":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/340/comments","statuses_url":"https://api.github.com/repos/iluwatar/java-design-patterns/statuses/30ca1ea1fb71bd761c1e1dddea6e6a4c08ec96ea","head":{"label":"tomroy:master","ref":"master","sha":"30ca1ea1fb71bd761c1e1dddea6e6a4c08ec96ea","user":{"login":"tomroy","id":6628057,"avatar_url":"https://avatars.githubusercontent.com/u/6628057?v=3","gravatar_id":"","url":"https://api.github.com/users/tomroy","html_url":"https://github.com/tomroy","followers_url":"https://api.github.com/users/tomroy/followers","following_url":"https://api.github.com/users/tomroy/following{/other_user}","gists_url":"https://api.github.com/users/tomroy/gists{/gist_id}","starred_url":"https://api.github.com/users/tomroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomroy/subscriptions","organizations_url":"https://api.github.com/users/tomroy/orgs","repos_url":"https://api.github.com/users/tomroy/repos","events_url":"https://api.github.com/users/tomroy/events{/privacy}","received_events_url":"https://api.github.com/users/tomroy/received_events","type":"User","site_admin":false},"repo":{"id":48999384,"name":"java-design-patterns","full_name":"tomroy/java-design-patterns","owner":{"login":"tomroy","id":6628057,"avatar_url":"https://avatars.githubusercontent.com/u/6628057?v=3","gravatar_id":"","url":"https://api.github.com/users/tomroy","html_url":"https://github.com/tomroy","followers_url":"https://api.github.com/users/tomroy/followers","following_url":"https://api.github.com/users/tomroy/following{/other_user}","gists_url":"https://api.github.com/users/tomroy/gists{/gist_id}","starred_url":"https://api.github.com/users/tomroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomroy/subscriptions","organizations_url":"https://api.github.com/users/tomroy/orgs","repos_url":"https://api.github.com/users/tomroy/repos","events_url":"https://api.github.com/users/tomroy/events{/privacy}","received_events_url":"https://api.github.com/users/tomroy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomroy/java-design-patterns","description":"Design patterns implemented in Java","fork":true,"url":"https://api.github.com/repos/tomroy/java-design-patterns","forks_url":"https://api.github.com/repos/tomroy/java-design-patterns/forks","keys_url":"https://api.github.com/repos/tomroy/java-design-patterns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomroy/java-design-patterns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomroy/java-design-patterns/teams","hooks_url":"https://api.github.com/repos/tomroy/java-design-patterns/hooks","issue_events_url":"https://api.github.com/repos/tomroy/java-design-patterns/issues/events{/number}","events_url":"https://api.github.com/repos/tomroy/java-design-patterns/events","assignees_url":"https://api.github.com/repos/tomroy/java-design-patterns/assignees{/user}","branches_url":"https://api.github.com/repos/tomroy/java-design-patterns/branches{/branch}","tags_url":"https://api.github.com/repos/tomroy/java-design-patterns/tags","blobs_url":"https://api.github.com/repos/tomroy/java-design-patterns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomroy/java-design-patterns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomroy/java-design-patterns/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomroy/java-design-patterns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomroy/java-design-patterns/statuses/{sha}","languages_url":"https://api.github.com/repos/tomroy/java-design-patterns/languages","stargazers_url":"https://api.github.com/repos/tomroy/java-design-patterns/stargazers","contributors_url":"https://api.github.com/repos/tomroy/java-design-patterns/contributors","subscribers_url":"https://api.github.com/repos/tomroy/java-design-patterns/subscribers","subscription_url":"https://api.github.com/repos/tomroy/java-design-patterns/subscription","commits_url":"https://api.github.com/repos/tomroy/java-design-patterns/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomroy/java-design-patterns/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomroy/java-design-patterns/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomroy/java-design-patterns/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomroy/java-design-patterns/contents/{+path}","compare_url":"https://api.github.com/repos/tomroy/java-design-patterns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomroy/java-design-patterns/merges","archive_url":"https://api.github.com/repos/tomroy/java-design-patterns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomroy/java-design-patterns/downloads","issues_url":"https://api.github.com/repos/tomroy/java-design-patterns/issues{/number}","pulls_url":"https://api.github.com/repos/tomroy/java-design-patterns/pulls{/number}","milestones_url":"https://api.github.com/repos/tomroy/java-design-patterns/milestones{/number}","notifications_url":"https://api.github.com/repos/tomroy/java-design-patterns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomroy/java-design-patterns/labels{/name}","releases_url":"https://api.github.com/repos/tomroy/java-design-patterns/releases{/id}","created_at":"2016-01-04T13:42:33Z","updated_at":"2016-01-04T13:42:35Z","pushed_at":"2016-01-04T15:07:41Z","git_url":"git://github.com/tomroy/java-design-patterns.git","ssh_url":"git@github.com:tomroy/java-design-patterns.git","clone_url":"https://github.com/tomroy/java-design-patterns.git","svn_url":"https://github.com/tomroy/java-design-patterns","homepage":"http://java-design-patterns.com","size":8897,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"iluwatar:master","ref":"master","sha":"4c5f9ae44c36f7fcc9dd8e2b4ef7bcfca0207720","user":{"login":"iluwatar","id":582346,"avatar_url":"https://avatars.githubusercontent.com/u/582346?v=3","gravatar_id":"","url":"https://api.github.com/users/iluwatar","html_url":"https://github.com/iluwatar","followers_url":"https://api.github.com/users/iluwatar/followers","following_url":"https://api.github.com/users/iluwatar/following{/other_user}","gists_url":"https://api.github.com/users/iluwatar/gists{/gist_id}","starred_url":"https://api.github.com/users/iluwatar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iluwatar/subscriptions","organizations_url":"https://api.github.com/users/iluwatar/orgs","repos_url":"https://api.github.com/users/iluwatar/repos","events_url":"https://api.github.com/users/iluwatar/events{/privacy}","received_events_url":"https://api.github.com/users/iluwatar/received_events","type":"User","site_admin":false},"repo":{"id":22790488,"name":"java-design-patterns","full_name":"iluwatar/java-design-patterns","owner":{"login":"iluwatar","id":582346,"avatar_url":"https://avatars.githubusercontent.com/u/582346?v=3","gravatar_id":"","url":"https://api.github.com/users/iluwatar","html_url":"https://github.com/iluwatar","followers_url":"https://api.github.com/users/iluwatar/followers","following_url":"https://api.github.com/users/iluwatar/following{/other_user}","gists_url":"https://api.github.com/users/iluwatar/gists{/gist_id}","starred_url":"https://api.github.com/users/iluwatar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iluwatar/subscriptions","organizations_url":"https://api.github.com/users/iluwatar/orgs","repos_url":"https://api.github.com/users/iluwatar/repos","events_url":"https://api.github.com/users/iluwatar/events{/privacy}","received_events_url":"https://api.github.com/users/iluwatar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iluwatar/java-design-patterns","description":"Design patterns implemented in Java","fork":false,"url":"https://api.github.com/repos/iluwatar/java-design-patterns","forks_url":"https://api.github.com/repos/iluwatar/java-design-patterns/forks","keys_url":"https://api.github.com/repos/iluwatar/java-design-patterns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iluwatar/java-design-patterns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iluwatar/java-design-patterns/teams","hooks_url":"https://api.github.com/repos/iluwatar/java-design-patterns/hooks","issue_events_url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/events{/number}","events_url":"https://api.github.com/repos/iluwatar/java-design-patterns/events","assignees_url":"https://api.github.com/repos/iluwatar/java-design-patterns/assignees{/user}","branches_url":"https://api.github.com/repos/iluwatar/java-design-patterns/branches{/branch}","tags_url":"https://api.github.com/repos/iluwatar/java-design-patterns/tags","blobs_url":"https://api.github.com/repos/iluwatar/java-design-patterns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iluwatar/java-design-patterns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iluwatar/java-design-patterns/git/refs{/sha}","trees_url":"https://api.github.com/repos/iluwatar/java-design-patterns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iluwatar/java-design-patterns/statuses/{sha}","languages_url":"https://api.github.com/repos/iluwatar/java-design-patterns/languages","stargazers_url":"https://api.github.com/repos/iluwatar/java-design-patterns/stargazers","contributors_url":"https://api.github.com/repos/iluwatar/java-design-patterns/contributors","subscribers_url":"https://api.github.com/repos/iluwatar/java-design-patterns/subscribers","subscription_url":"https://api.github.com/repos/iluwatar/java-design-patterns/subscription","commits_url":"https://api.github.com/repos/iluwatar/java-design-patterns/commits{/sha}","git_commits_url":"https://api.github.com/repos/iluwatar/java-design-patterns/git/commits{/sha}","comments_url":"https://api.github.com/repos/iluwatar/java-design-patterns/comments{/number}","issue_comment_url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/comments{/number}","contents_url":"https://api.github.com/repos/iluwatar/java-design-patterns/contents/{+path}","compare_url":"https://api.github.com/repos/iluwatar/java-design-patterns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iluwatar/java-design-patterns/merges","archive_url":"https://api.github.com/repos/iluwatar/java-design-patterns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iluwatar/java-design-patterns/downloads","issues_url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues{/number}","pulls_url":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls{/number}","milestones_url":"https://api.github.com/repos/iluwatar/java-design-patterns/milestones{/number}","notifications_url":"https://api.github.com/repos/iluwatar/java-design-patterns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iluwatar/java-design-patterns/labels{/name}","releases_url":"https://api.github.com/repos/iluwatar/java-design-patterns/releases{/id}","created_at":"2014-08-09T16:45:18Z","updated_at":"2016-01-04T14:11:08Z","pushed_at":"2016-01-04T01:29:13Z","git_url":"git://github.com/iluwatar/java-design-patterns.git","ssh_url":"git@github.com:iluwatar/java-design-patterns.git","clone_url":"https://github.com/iluwatar/java-design-patterns.git","svn_url":"https://github.com/iluwatar/java-design-patterns","homepage":"http://java-design-patterns.com","size":9775,"stargazers_count":9429,"watchers_count":9429,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3052,"mirror_url":null,"open_issues_count":121,"forks":3052,"open_issues":121,"watchers":9429,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/340"},"html":{"href":"https://github.com/iluwatar/java-design-patterns/pull/340"},"issue":{"href":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/340"},"comments":{"href":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/340/comments"},"review_comments":{"href":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/340/comments"},"review_comment":{"href":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/340/commits"},"statuses":{"href":"https://api.github.com/repos/iluwatar/java-design-patterns/statuses/30ca1ea1fb71bd761c1e1dddea6e6a4c08ec96ea"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":41,"deletions":24,"changed_files":5}}