{"action":"created","issue":{"url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/398","repository_url":"https://api.github.com/repos/iluwatar/java-design-patterns","labels_url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/398/labels{/name}","comments_url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/398/comments","events_url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/398/events","html_url":"https://github.com/iluwatar/java-design-patterns/pull/398","id":139218096,"number":398,"title":"Event driven architecture refactored.","user":{"login":"legka","id":13992627,"avatar_url":"https://avatars.githubusercontent.com/u/13992627?v=3","gravatar_id":"","url":"https://api.github.com/users/legka","html_url":"https://github.com/legka","followers_url":"https://api.github.com/users/legka/followers","following_url":"https://api.github.com/users/legka/following{/other_user}","gists_url":"https://api.github.com/users/legka/gists{/gist_id}","starred_url":"https://api.github.com/users/legka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/legka/subscriptions","organizations_url":"https://api.github.com/users/legka/orgs","repos_url":"https://api.github.com/users/legka/repos","events_url":"https://api.github.com/users/legka/events{/privacy}","received_events_url":"https://api.github.com/users/legka/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-08T09:03:01Z","updated_at":"2016-03-09T05:24:02Z","closed_at":"2016-03-09T05:19:08Z","pull_request":{"url":"https://api.github.com/repos/iluwatar/java-design-patterns/pulls/398","html_url":"https://github.com/iluwatar/java-design-patterns/pull/398","diff_url":"https://github.com/iluwatar/java-design-patterns/pull/398.diff","patch_url":"https://github.com/iluwatar/java-design-patterns/pull/398.patch"},"body":"1. Renamed Message to Event and Event to AbstractEvent\r\n2. Generified Event and Handler to avoid casts in Handlers\r\n3. Updated EventDispatcher to make unsafe configuration impossible (handler for wrong type)\r\n4. Updated UML diagram accordingly"},"comment":{"url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/comments/194117862","html_url":"https://github.com/iluwatar/java-design-patterns/pull/398#issuecomment-194117862","issue_url":"https://api.github.com/repos/iluwatar/java-design-patterns/issues/398","id":194117862,"user":{"login":"legka","id":13992627,"avatar_url":"https://avatars.githubusercontent.com/u/13992627?v=3","gravatar_id":"","url":"https://api.github.com/users/legka","html_url":"https://github.com/legka","followers_url":"https://api.github.com/users/legka/followers","following_url":"https://api.github.com/users/legka/following{/other_user}","gists_url":"https://api.github.com/users/legka/gists{/gist_id}","starred_url":"https://api.github.com/users/legka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/legka/subscriptions","organizations_url":"https://api.github.com/users/legka/orgs","repos_url":"https://api.github.com/users/legka/repos","events_url":"https://api.github.com/users/legka/events{/privacy}","received_events_url":"https://api.github.com/users/legka/received_events","type":"User","site_admin":false},"created_at":"2016-03-09T05:24:02Z","updated_at":"2016-03-09T05:24:02Z","body":"My pleasure )"}}