{"action":"created","issue":{"url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1187","labels_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1187/labels{/name}","comments_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1187/comments","events_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1187/events","html_url":"https://github.com/checkstyle/checkstyle/issues/1187","id":85818396,"number":1187,"title":"Do not generate violation in SuppressWarningsHolder for empty SuppressWarnings","user":{"login":"mkordas","id":5467276,"avatar_url":"https://avatars.githubusercontent.com/u/5467276?v=3","gravatar_id":"","url":"https://api.github.com/users/mkordas","html_url":"https://github.com/mkordas","followers_url":"https://api.github.com/users/mkordas/followers","following_url":"https://api.github.com/users/mkordas/following{/other_user}","gists_url":"https://api.github.com/users/mkordas/gists{/gist_id}","starred_url":"https://api.github.com/users/mkordas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkordas/subscriptions","organizations_url":"https://api.github.com/users/mkordas/orgs","repos_url":"https://api.github.com/users/mkordas/repos","events_url":"https://api.github.com/users/mkordas/events{/privacy}","received_events_url":"https://api.github.com/users/mkordas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/checkstyle/checkstyle/labels/approved","name":"approved","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-06T22:37:12Z","updated_at":"2015-06-07T19:59:34Z","closed_at":null,"body":"Follow-up to #1158.\r\n\r\nSuppressWarningsHolder generate violation in SuppressWarningsHolder for empty SuppressWarnings. As agreed, there is no point in raising such warning.\r\n\r\n`SuppressWarnings` annotation cannot be empty. This is illegal code:\r\n```java\r\n@SuppressWarnings\r\nvolatile int[] e;\r\n```\r\n\r\nI wonder why FindBugs has such non-compilable test case: https://code.google.com/p/findbugs/source/browse/findbugsTestCases/src/java/VolatileUsage2.java.\r\n"},"comment":{"url":"https://api.github.com/repos/checkstyle/checkstyle/issues/comments/109793528","html_url":"https://github.com/checkstyle/checkstyle/issues/1187#issuecomment-109793528","issue_url":"https://api.github.com/repos/checkstyle/checkstyle/issues/1187","id":109793528,"user":{"login":"romani","id":812984,"avatar_url":"https://avatars.githubusercontent.com/u/812984?v=3","gravatar_id":"","url":"https://api.github.com/users/romani","html_url":"https://github.com/romani","followers_url":"https://api.github.com/users/romani/followers","following_url":"https://api.github.com/users/romani/following{/other_user}","gists_url":"https://api.github.com/users/romani/gists{/gist_id}","starred_url":"https://api.github.com/users/romani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romani/subscriptions","organizations_url":"https://api.github.com/users/romani/orgs","repos_url":"https://api.github.com/users/romani/repos","events_url":"https://api.github.com/users/romani/events{/privacy}","received_events_url":"https://api.github.com/users/romani/received_events","type":"User","site_admin":false},"created_at":"2015-06-07T19:59:34Z","updated_at":"2015-06-07T19:59:34Z","body":"oh yes, even I missed that.\r\n\r\ncheckstyle is not type aware so, we have to be aware that user could have its own implementation with similar name.  Any attempts to make a decision base on class implementation or methods signature is error prone."}}