{"action":"closed","issue":{"url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/518","repository_url":"https://api.github.com/repos/iluwatar/java-design-patterns","labels_url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/518/labels{/name}","comments_url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/518/comments","events_url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/518/events","html_url":"https://github.com/iluwatar/java-design-patterns/issues/518","id":188899957,"number":518,"title":"Decorator: Composition or Aggregation?","user":{"login":"thomasoss","id":22516154,"avatar_url":"https://avatars.githubusercontent.com/u/22516154?v=3","gravatar_id":"","url":"https://api.github.com/users/thomasoss","html_url":"https://github.com/thomasoss","followers_url":"https://api.github.com/users/thomasoss/followers","following_url":"https://api.github.com/users/thomasoss/following{/other_user}","gists_url":"https://api.github.com/users/thomasoss/gists{/gist_id}","starred_url":"https://api.github.com/users/thomasoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomasoss/subscriptions","organizations_url":"https://api.github.com/users/thomasoss/orgs","repos_url":"https://api.github.com/users/thomasoss/repos","events_url":"https://api.github.com/users/thomasoss/events{/privacy}","received_events_url":"https://api.github.com/users/thomasoss/received_events","type":"User","site_admin":false},"labels":[{"id":120703410,"url":"https://api.github.com/repos/iluwatar/java-design-patterns/labels/help%20wanted","name":"help wanted","color":"159818","default":true},{"id":250959015,"url":"https://api.github.com/repos/iluwatar/java-design-patterns/labels/low%20hanging","name":"low hanging","color":"d4c5f9","default":false},{"id":120703412,"url":"https://api.github.com/repos/iluwatar/java-design-patterns/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/iluwatar/java-design-patterns/milestones/15","html_url":"https://github.com/iluwatar/java-design-patterns/milestones/1.14.0","labels_url":"https://api.github.com/repos/iluwatar/java-design-patterns/milestones/15/labels","id":2040485,"number":15,"title":"1.14.0","description":"","creator":{"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},"open_issues":0,"closed_issues":8,"state":"open","created_at":"2016-09-30T16:43:00Z","updated_at":"2016-11-15T19:32:22Z","due_on":"2016-12-31T00:00:00Z","closed_at":null},"comments":2,"created_at":"2016-11-12T08:17:26Z","updated_at":"2016-11-15T19:32:22Z","closed_at":"2016-11-15T19:32:22Z","body":"Hello, I refere to decorator pattern\r\nI think the relationship between decorator and target (in the code example between Troll und SmartTroll) ist not a composition as described in the code comment lines of class App. In a compostion both instances canncot live without the other one. But the target (Troll) could live without the decorator (Smart Troll). Consequently this is a aggregation?\r\nGreetings\r\nThomas"}}
{"actor":{"display_login":"iluwatar"}}