{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/pulls/comments/34900158","id":34900158,"diff_hunk":"@@ -118,6 +118,10 @@ private boolean isParameterUndefined(String key) {\n \t@Override\n \tpublic void postInitialize() throws Exception {\n \t\tsuper.postInitialize();\n+                if (filter == null) {\n+                    throw new Exception(\"Post-initialization hook has been called before the plugin start. \"\n+                        +\"Filters are not available\");","path":"src/main/java/org/jvnet/hudson/plugins/monitoring/PluginImpl.java","position":15,"original_position":15,"commit_id":"42ddb234250103afe2e407a3b3370d7f0125a946","original_commit_id":"42ddb234250103afe2e407a3b3370d7f0125a946","user":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"body":"why do you need String concatenation there?","created_at":"2015-07-17T15:28:10Z","updated_at":"2015-07-17T15:28:10Z","html_url":"https://github.com/jenkinsci/monitoring-plugin/pull/3#discussion_r34900158","pull_request_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/monitoring-plugin/pulls/comments/34900158"},"html":{"href":"https://github.com/jenkinsci/monitoring-plugin/pull/3#discussion_r34900158"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/monitoring-plugin/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/pulls/3","id":40220242,"html_url":"https://github.com/jenkinsci/monitoring-plugin/pull/3","diff_url":"https://github.com/jenkinsci/monitoring-plugin/pull/3.diff","patch_url":"https://github.com/jenkinsci/monitoring-plugin/pull/3.patch","issue_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/issues/3","number":3,"state":"open","locked":false,"title":"Enable FindBugs checks on the verify stage","user":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"body":"The change allows to automate or event to enforce FindBugs checks on https://jenkins.ci.cloudbees.com/job/plugins/job/monitoring-plugin/","created_at":"2015-07-17T10:52:36Z","updated_at":"2015-07-17T15:28:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"daf6b990675e019c52a3b417623d7596c7cab7bb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/pulls/3/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/pulls/3/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/issues/3/comments","statuses_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/statuses/42ddb234250103afe2e407a3b3370d7f0125a946","head":{"label":"oleg-nenashev:findbugs-enable","ref":"findbugs-enable","sha":"42ddb234250103afe2e407a3b3370d7f0125a946","user":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"repo":{"id":15629051,"name":"monitoring-plugin","full_name":"oleg-nenashev/monitoring-plugin","owner":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oleg-nenashev/monitoring-plugin","description":"Jenkins monitoring plugin","fork":true,"url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin","forks_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/forks","keys_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/teams","hooks_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/hooks","issue_events_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/events","assignees_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/tags","blobs_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/languages","stargazers_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/stargazers","contributors_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/contributors","subscribers_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/subscribers","subscription_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/subscription","commits_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/merges","archive_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/downloads","issues_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/labels{/name}","releases_url":"https://api.github.com/repos/oleg-nenashev/monitoring-plugin/releases{/id}","created_at":"2014-01-04T08:25:55Z","updated_at":"2014-01-16T18:48:12Z","pushed_at":"2015-07-17T10:50:01Z","git_url":"git://github.com/oleg-nenashev/monitoring-plugin.git","ssh_url":"git@github.com:oleg-nenashev/monitoring-plugin.git","clone_url":"https://github.com/oleg-nenashev/monitoring-plugin.git","svn_url":"https://github.com/oleg-nenashev/monitoring-plugin","homepage":"http://jenkins-ci.org/","size":951,"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":"jenkinsci:master","ref":"master","sha":"7ce4b126a851b7361ab5e752282e757676491003","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":1163673,"name":"monitoring-plugin","full_name":"jenkinsci/monitoring-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/monitoring-plugin","description":"Jenkins monitoring plugin","fork":false,"url":"https://api.github.com/repos/jenkinsci/monitoring-plugin","forks_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/monitoring-plugin/releases{/id}","created_at":"2010-12-13T05:46:27Z","updated_at":"2015-05-13T09:37:37Z","pushed_at":"2015-07-17T10:52:37Z","git_url":"git://github.com/jenkinsci/monitoring-plugin.git","ssh_url":"git@github.com:jenkinsci/monitoring-plugin.git","clone_url":"https://github.com/jenkinsci/monitoring-plugin.git","svn_url":"https://github.com/jenkinsci/monitoring-plugin","homepage":"http://jenkins-ci.org/","size":1226,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/monitoring-plugin/pulls/3"},"html":{"href":"https://github.com/jenkinsci/monitoring-plugin/pull/3"},"issue":{"href":"https://api.github.com/repos/jenkinsci/monitoring-plugin/issues/3"},"comments":{"href":"https://api.github.com/repos/jenkinsci/monitoring-plugin/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/monitoring-plugin/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/monitoring-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/monitoring-plugin/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/monitoring-plugin/statuses/42ddb234250103afe2e407a3b3370d7f0125a946"}}}}