{"action":"created","comment":{"url":"https://api.github.com/repos/osiam/resource-server/pulls/comments/39692188","id":39692188,"diff_hunk":"@@ -101,45 +101,21 @@ public JsonErrorResult handleUnrecognizedProperty(Exception e) {\n     @ExceptionHandler(JsonMappingException.class)\n     @ResponseStatus(HttpStatus.CONFLICT)\n     @ResponseBody\n-    public JsonErrorResult handleJsonMapping(Exception e) {\n+    public ErrorResponse handleJsonMapping(Exception e) {\n         LOGGER.error(\"Unable to deserialize\", e);\n         return produceErrorResponse(e.getMessage(), HttpStatus.CONFLICT, new JsonMappingMessageTransformer());\n     }\n \n-    private JsonErrorResult produceErrorResponse(String message, HttpStatus status) {\n+    private ErrorResponse produceErrorResponse(String message, HttpStatus status) {\n         return produceErrorResponse(message, status, null);\n     }\n \n-    private JsonErrorResult produceErrorResponse(String message, HttpStatus status,\n+    private ErrorResponse produceErrorResponse(String message, HttpStatus status,\n                                                  ErrorMessageTransformer transformer) {","path":"src/main/java/org/osiam/resources/exception/OsiamExceptionHandler.java","position":93,"original_position":93,"commit_id":"301dc374e59a71457ab85c2aeac558b5832989f1","original_commit_id":"301dc374e59a71457ab85c2aeac558b5832989f1","user":{"login":"tkrille","id":5213491,"avatar_url":"https://avatars.githubusercontent.com/u/5213491?v=3","gravatar_id":"","url":"https://api.github.com/users/tkrille","html_url":"https://github.com/tkrille","followers_url":"https://api.github.com/users/tkrille/followers","following_url":"https://api.github.com/users/tkrille/following{/other_user}","gists_url":"https://api.github.com/users/tkrille/gists{/gist_id}","starred_url":"https://api.github.com/users/tkrille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkrille/subscriptions","organizations_url":"https://api.github.com/users/tkrille/orgs","repos_url":"https://api.github.com/users/tkrille/repos","events_url":"https://api.github.com/users/tkrille/events{/privacy}","received_events_url":"https://api.github.com/users/tkrille/received_events","type":"User","site_admin":false},"body":"wrong indentation, either move it 2 spaces to the left or indent the line with 8 spaces.","created_at":"2015-09-16T22:13:02Z","updated_at":"2015-09-16T22:13:02Z","html_url":"https://github.com/osiam/resource-server/pull/76#discussion_r39692188","pull_request_url":"https://api.github.com/repos/osiam/resource-server/pulls/76","_links":{"self":{"href":"https://api.github.com/repos/osiam/resource-server/pulls/comments/39692188"},"html":{"href":"https://github.com/osiam/resource-server/pull/76#discussion_r39692188"},"pull_request":{"href":"https://api.github.com/repos/osiam/resource-server/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/osiam/resource-server/pulls/76","id":45181105,"html_url":"https://github.com/osiam/resource-server/pull/76","diff_url":"https://github.com/osiam/resource-server/pull/76.diff","patch_url":"https://github.com/osiam/resource-server/pull/76.patch","issue_url":"https://api.github.com/repos/osiam/resource-server/issues/76","number":76,"state":"open","locked":false,"title":"Make use of the extracted ErrorResponse","user":{"login":"wallner","id":563601,"avatar_url":"https://avatars.githubusercontent.com/u/563601?v=3","gravatar_id":"","url":"https://api.github.com/users/wallner","html_url":"https://github.com/wallner","followers_url":"https://api.github.com/users/wallner/followers","following_url":"https://api.github.com/users/wallner/following{/other_user}","gists_url":"https://api.github.com/users/wallner/gists{/gist_id}","starred_url":"https://api.github.com/users/wallner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallner/subscriptions","organizations_url":"https://api.github.com/users/wallner/orgs","repos_url":"https://api.github.com/users/wallner/repos","events_url":"https://api.github.com/users/wallner/events{/privacy}","received_events_url":"https://api.github.com/users/wallner/received_events","type":"User","site_admin":false},"body":"The `ErrorResponse` class moved into the `scim-schema` preoject. This\ncommit makes use of the class from the `scim-schema`. It need osiam/scim-schema#152 to be accepted.","created_at":"2015-09-16T14:49:10Z","updated_at":"2015-09-16T22:13:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a796f9db9784de5e4041c942140bf5df274d800","assignee":{"login":"tkrille","id":5213491,"avatar_url":"https://avatars.githubusercontent.com/u/5213491?v=3","gravatar_id":"","url":"https://api.github.com/users/tkrille","html_url":"https://github.com/tkrille","followers_url":"https://api.github.com/users/tkrille/followers","following_url":"https://api.github.com/users/tkrille/following{/other_user}","gists_url":"https://api.github.com/users/tkrille/gists{/gist_id}","starred_url":"https://api.github.com/users/tkrille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkrille/subscriptions","organizations_url":"https://api.github.com/users/tkrille/orgs","repos_url":"https://api.github.com/users/tkrille/repos","events_url":"https://api.github.com/users/tkrille/events{/privacy}","received_events_url":"https://api.github.com/users/tkrille/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/osiam/resource-server/pulls/76/commits","review_comments_url":"https://api.github.com/repos/osiam/resource-server/pulls/76/comments","review_comment_url":"https://api.github.com/repos/osiam/resource-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/osiam/resource-server/issues/76/comments","statuses_url":"https://api.github.com/repos/osiam/resource-server/statuses/301dc374e59a71457ab85c2aeac558b5832989f1","head":{"label":"wallner:use_scim_schema_error_response","ref":"use_scim_schema_error_response","sha":"301dc374e59a71457ab85c2aeac558b5832989f1","user":{"login":"wallner","id":563601,"avatar_url":"https://avatars.githubusercontent.com/u/563601?v=3","gravatar_id":"","url":"https://api.github.com/users/wallner","html_url":"https://github.com/wallner","followers_url":"https://api.github.com/users/wallner/followers","following_url":"https://api.github.com/users/wallner/following{/other_user}","gists_url":"https://api.github.com/users/wallner/gists{/gist_id}","starred_url":"https://api.github.com/users/wallner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallner/subscriptions","organizations_url":"https://api.github.com/users/wallner/orgs","repos_url":"https://api.github.com/users/wallner/repos","events_url":"https://api.github.com/users/wallner/events{/privacy}","received_events_url":"https://api.github.com/users/wallner/received_events","type":"User","site_admin":false},"repo":{"id":37938842,"name":"resource-server","full_name":"wallner/resource-server","owner":{"login":"wallner","id":563601,"avatar_url":"https://avatars.githubusercontent.com/u/563601?v=3","gravatar_id":"","url":"https://api.github.com/users/wallner","html_url":"https://github.com/wallner","followers_url":"https://api.github.com/users/wallner/followers","following_url":"https://api.github.com/users/wallner/following{/other_user}","gists_url":"https://api.github.com/users/wallner/gists{/gist_id}","starred_url":"https://api.github.com/users/wallner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallner/subscriptions","organizations_url":"https://api.github.com/users/wallner/orgs","repos_url":"https://api.github.com/users/wallner/repos","events_url":"https://api.github.com/users/wallner/events{/privacy}","received_events_url":"https://api.github.com/users/wallner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wallner/resource-server","description":"OSIAM resource server","fork":true,"url":"https://api.github.com/repos/wallner/resource-server","forks_url":"https://api.github.com/repos/wallner/resource-server/forks","keys_url":"https://api.github.com/repos/wallner/resource-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wallner/resource-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wallner/resource-server/teams","hooks_url":"https://api.github.com/repos/wallner/resource-server/hooks","issue_events_url":"https://api.github.com/repos/wallner/resource-server/issues/events{/number}","events_url":"https://api.github.com/repos/wallner/resource-server/events","assignees_url":"https://api.github.com/repos/wallner/resource-server/assignees{/user}","branches_url":"https://api.github.com/repos/wallner/resource-server/branches{/branch}","tags_url":"https://api.github.com/repos/wallner/resource-server/tags","blobs_url":"https://api.github.com/repos/wallner/resource-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wallner/resource-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wallner/resource-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/wallner/resource-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wallner/resource-server/statuses/{sha}","languages_url":"https://api.github.com/repos/wallner/resource-server/languages","stargazers_url":"https://api.github.com/repos/wallner/resource-server/stargazers","contributors_url":"https://api.github.com/repos/wallner/resource-server/contributors","subscribers_url":"https://api.github.com/repos/wallner/resource-server/subscribers","subscription_url":"https://api.github.com/repos/wallner/resource-server/subscription","commits_url":"https://api.github.com/repos/wallner/resource-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/wallner/resource-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/wallner/resource-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/wallner/resource-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/wallner/resource-server/contents/{+path}","compare_url":"https://api.github.com/repos/wallner/resource-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wallner/resource-server/merges","archive_url":"https://api.github.com/repos/wallner/resource-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wallner/resource-server/downloads","issues_url":"https://api.github.com/repos/wallner/resource-server/issues{/number}","pulls_url":"https://api.github.com/repos/wallner/resource-server/pulls{/number}","milestones_url":"https://api.github.com/repos/wallner/resource-server/milestones{/number}","notifications_url":"https://api.github.com/repos/wallner/resource-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wallner/resource-server/labels{/name}","releases_url":"https://api.github.com/repos/wallner/resource-server/releases{/id}","created_at":"2015-06-23T19:01:13Z","updated_at":"2015-06-23T19:01:14Z","pushed_at":"2015-09-16T14:48:33Z","git_url":"git://github.com/wallner/resource-server.git","ssh_url":"git@github.com:wallner/resource-server.git","clone_url":"https://github.com/wallner/resource-server.git","svn_url":"https://github.com/wallner/resource-server","homepage":null,"size":2311,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"osiam:master","ref":"master","sha":"6be1a22befbc33d8142762cdf8569da055a3299b","user":{"login":"osiam","id":1918807,"avatar_url":"https://avatars.githubusercontent.com/u/1918807?v=3","gravatar_id":"","url":"https://api.github.com/users/osiam","html_url":"https://github.com/osiam","followers_url":"https://api.github.com/users/osiam/followers","following_url":"https://api.github.com/users/osiam/following{/other_user}","gists_url":"https://api.github.com/users/osiam/gists{/gist_id}","starred_url":"https://api.github.com/users/osiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osiam/subscriptions","organizations_url":"https://api.github.com/users/osiam/orgs","repos_url":"https://api.github.com/users/osiam/repos","events_url":"https://api.github.com/users/osiam/events{/privacy}","received_events_url":"https://api.github.com/users/osiam/received_events","type":"Organization","site_admin":false},"repo":{"id":34856295,"name":"resource-server","full_name":"osiam/resource-server","owner":{"login":"osiam","id":1918807,"avatar_url":"https://avatars.githubusercontent.com/u/1918807?v=3","gravatar_id":"","url":"https://api.github.com/users/osiam","html_url":"https://github.com/osiam","followers_url":"https://api.github.com/users/osiam/followers","following_url":"https://api.github.com/users/osiam/following{/other_user}","gists_url":"https://api.github.com/users/osiam/gists{/gist_id}","starred_url":"https://api.github.com/users/osiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osiam/subscriptions","organizations_url":"https://api.github.com/users/osiam/orgs","repos_url":"https://api.github.com/users/osiam/repos","events_url":"https://api.github.com/users/osiam/events{/privacy}","received_events_url":"https://api.github.com/users/osiam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osiam/resource-server","description":"OSIAM resource server","fork":false,"url":"https://api.github.com/repos/osiam/resource-server","forks_url":"https://api.github.com/repos/osiam/resource-server/forks","keys_url":"https://api.github.com/repos/osiam/resource-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osiam/resource-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osiam/resource-server/teams","hooks_url":"https://api.github.com/repos/osiam/resource-server/hooks","issue_events_url":"https://api.github.com/repos/osiam/resource-server/issues/events{/number}","events_url":"https://api.github.com/repos/osiam/resource-server/events","assignees_url":"https://api.github.com/repos/osiam/resource-server/assignees{/user}","branches_url":"https://api.github.com/repos/osiam/resource-server/branches{/branch}","tags_url":"https://api.github.com/repos/osiam/resource-server/tags","blobs_url":"https://api.github.com/repos/osiam/resource-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osiam/resource-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osiam/resource-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/osiam/resource-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osiam/resource-server/statuses/{sha}","languages_url":"https://api.github.com/repos/osiam/resource-server/languages","stargazers_url":"https://api.github.com/repos/osiam/resource-server/stargazers","contributors_url":"https://api.github.com/repos/osiam/resource-server/contributors","subscribers_url":"https://api.github.com/repos/osiam/resource-server/subscribers","subscription_url":"https://api.github.com/repos/osiam/resource-server/subscription","commits_url":"https://api.github.com/repos/osiam/resource-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/osiam/resource-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/osiam/resource-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/osiam/resource-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/osiam/resource-server/contents/{+path}","compare_url":"https://api.github.com/repos/osiam/resource-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osiam/resource-server/merges","archive_url":"https://api.github.com/repos/osiam/resource-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osiam/resource-server/downloads","issues_url":"https://api.github.com/repos/osiam/resource-server/issues{/number}","pulls_url":"https://api.github.com/repos/osiam/resource-server/pulls{/number}","milestones_url":"https://api.github.com/repos/osiam/resource-server/milestones{/number}","notifications_url":"https://api.github.com/repos/osiam/resource-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osiam/resource-server/labels{/name}","releases_url":"https://api.github.com/repos/osiam/resource-server/releases{/id}","created_at":"2015-04-30T13:37:48Z","updated_at":"2015-07-29T07:50:51Z","pushed_at":"2015-09-16T14:49:11Z","git_url":"git://github.com/osiam/resource-server.git","ssh_url":"git@github.com:osiam/resource-server.git","clone_url":"https://github.com/osiam/resource-server.git","svn_url":"https://github.com/osiam/resource-server","homepage":null,"size":2601,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":19,"forks":6,"open_issues":19,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/osiam/resource-server/pulls/76"},"html":{"href":"https://github.com/osiam/resource-server/pull/76"},"issue":{"href":"https://api.github.com/repos/osiam/resource-server/issues/76"},"comments":{"href":"https://api.github.com/repos/osiam/resource-server/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/osiam/resource-server/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/osiam/resource-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/osiam/resource-server/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/osiam/resource-server/statuses/301dc374e59a71457ab85c2aeac558b5832989f1"}}}}