{"action":"created","issue":{"url":"https://api.github.com/repos/TEAMMATES/teammates/issues/8515","repository_url":"https://api.github.com/repos/TEAMMATES/teammates","labels_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/8515/labels{/name}","comments_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/8515/comments","events_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/8515/events","html_url":"https://github.com/TEAMMATES/teammates/pull/8515","id":299570786,"number":8515,"title":"Upgrade to PMD 6.x.x #8511","user":{"login":"sukanta-27","id":10681755,"avatar_url":"https://avatars3.githubusercontent.com/u/10681755?v=4","gravatar_id":"","url":"https://api.github.com/users/sukanta-27","html_url":"https://github.com/sukanta-27","followers_url":"https://api.github.com/users/sukanta-27/followers","following_url":"https://api.github.com/users/sukanta-27/following{/other_user}","gists_url":"https://api.github.com/users/sukanta-27/gists{/gist_id}","starred_url":"https://api.github.com/users/sukanta-27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sukanta-27/subscriptions","organizations_url":"https://api.github.com/users/sukanta-27/orgs","repos_url":"https://api.github.com/users/sukanta-27/repos","events_url":"https://api.github.com/users/sukanta-27/events{/privacy}","received_events_url":"https://api.github.com/users/sukanta-27/received_events","type":"User","site_admin":false},"labels":[{"id":98049565,"url":"https://api.github.com/repos/TEAMMATES/teammates/labels/s.ToReview","name":"s.ToReview","color":"47B74E","default":false}],"state":"open","locked":false,"assignee":{"login":"wkurniawan07","id":7261051,"avatar_url":"https://avatars2.githubusercontent.com/u/7261051?v=4","gravatar_id":"","url":"https://api.github.com/users/wkurniawan07","html_url":"https://github.com/wkurniawan07","followers_url":"https://api.github.com/users/wkurniawan07/followers","following_url":"https://api.github.com/users/wkurniawan07/following{/other_user}","gists_url":"https://api.github.com/users/wkurniawan07/gists{/gist_id}","starred_url":"https://api.github.com/users/wkurniawan07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkurniawan07/subscriptions","organizations_url":"https://api.github.com/users/wkurniawan07/orgs","repos_url":"https://api.github.com/users/wkurniawan07/repos","events_url":"https://api.github.com/users/wkurniawan07/events{/privacy}","received_events_url":"https://api.github.com/users/wkurniawan07/received_events","type":"User","site_admin":false},"assignees":[{"login":"wkurniawan07","id":7261051,"avatar_url":"https://avatars2.githubusercontent.com/u/7261051?v=4","gravatar_id":"","url":"https://api.github.com/users/wkurniawan07","html_url":"https://github.com/wkurniawan07","followers_url":"https://api.github.com/users/wkurniawan07/followers","following_url":"https://api.github.com/users/wkurniawan07/following{/other_user}","gists_url":"https://api.github.com/users/wkurniawan07/gists{/gist_id}","starred_url":"https://api.github.com/users/wkurniawan07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkurniawan07/subscriptions","organizations_url":"https://api.github.com/users/wkurniawan07/orgs","repos_url":"https://api.github.com/users/wkurniawan07/repos","events_url":"https://api.github.com/users/wkurniawan07/events{/privacy}","received_events_url":"https://api.github.com/users/wkurniawan07/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-02-23T01:39:22Z","updated_at":"2018-03-04T14:32:27Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/TEAMMATES/teammates/pulls/8515","html_url":"https://github.com/TEAMMATES/teammates/pull/8515","diff_url":"https://github.com/TEAMMATES/teammates/pull/8515.diff","patch_url":"https://github.com/TEAMMATES/teammates/pull/8515.patch"},"body":"Fixes #8511  \r\n\r\n**Outline of Solution**\r\n\r\nMost of the changes are listed in #8512 \r\n\r\n**Pointer:** The `GuardLogStatement` seems to have a regression as it throws `IllegalArgumentException`. (Similar to https://github.com/pmd/pmd/issues/394)\r\n```\r\njava.lang.IllegalArgumentException: Unable to exclude rules [GuardLogStatement]; perhaps the rule name is mispelled?\r\n```\r\nAnd the test has been moved to `bestpractices` altogether. The file `logging-java.xml` is deprecated and will be completely removed on PMD 7.0.0.  <s>(Which is why I deleted this particular rule, for now)</s>\r\n\r\nhttps://github.com/TEAMMATES/teammates/blob/898c5c994bab4258957404762303dce24bca9282/static-analysis/teammates-pmdMain.xml#L15-L18\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/TEAMMATES/teammates/issues/comments/370233622","html_url":"https://github.com/TEAMMATES/teammates/pull/8515#issuecomment-370233622","issue_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/8515","id":370233622,"user":{"login":"sukanta-27","id":10681755,"avatar_url":"https://avatars3.githubusercontent.com/u/10681755?v=4","gravatar_id":"","url":"https://api.github.com/users/sukanta-27","html_url":"https://github.com/sukanta-27","followers_url":"https://api.github.com/users/sukanta-27/followers","following_url":"https://api.github.com/users/sukanta-27/following{/other_user}","gists_url":"https://api.github.com/users/sukanta-27/gists{/gist_id}","starred_url":"https://api.github.com/users/sukanta-27/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sukanta-27/subscriptions","organizations_url":"https://api.github.com/users/sukanta-27/orgs","repos_url":"https://api.github.com/users/sukanta-27/repos","events_url":"https://api.github.com/users/sukanta-27/events{/privacy}","received_events_url":"https://api.github.com/users/sukanta-27/received_events","type":"User","site_admin":false},"created_at":"2018-03-04T14:32:27Z","updated_at":"2018-03-04T14:32:27Z","author_association":"CONTRIBUTOR","body":"Ready for a review."}}
{"actor":{"display_login":"sukanta-27"}}