{"action":"opened","issue":{"url":"https://api.github.com/repos/google/error-prone/issues/446","repository_url":"https://api.github.com/repos/google/error-prone","labels_url":"https://api.github.com/repos/google/error-prone/issues/446/labels{/name}","comments_url":"https://api.github.com/repos/google/error-prone/issues/446/comments","events_url":"https://api.github.com/repos/google/error-prone/issues/446/events","html_url":"https://github.com/google/error-prone/issues/446","id":169145542,"number":446,"title":"Disable @CheckReturnValue checking if the previous statement is ExpectedException.expect","user":{"login":"PhilippWendler","id":2545335,"avatar_url":"https://avatars.githubusercontent.com/u/2545335?v=3","gravatar_id":"","url":"https://api.github.com/users/PhilippWendler","html_url":"https://github.com/PhilippWendler","followers_url":"https://api.github.com/users/PhilippWendler/followers","following_url":"https://api.github.com/users/PhilippWendler/following{/other_user}","gists_url":"https://api.github.com/users/PhilippWendler/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilippWendler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilippWendler/subscriptions","organizations_url":"https://api.github.com/users/PhilippWendler/orgs","repos_url":"https://api.github.com/users/PhilippWendler/repos","events_url":"https://api.github.com/users/PhilippWendler/events{/privacy}","received_events_url":"https://api.github.com/users/PhilippWendler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-03T14:28:52Z","updated_at":"2016-08-03T14:28:52Z","closed_at":null,"body":"Similar to #385, I think it would be great relax the check for unused return values in the following code:\r\n```\r\n@Rule public ExpectedException thrown = ExpectedException.none();\r\n\r\n@Test test() {\r\n  ...\r\n  thrown.expect(SomeException.class);\r\n  Foo.foo();\r\n}\r\n```"}}
{"actor":{"display_login":"PhilippWendler"}}