{"action":"created","issue":{"url":"https://api.github.com/repos/SonarSource/sonar-java/issues/179","labels_url":"https://api.github.com/repos/SonarSource/sonar-java/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/SonarSource/sonar-java/issues/179/comments","events_url":"https://api.github.com/repos/SonarSource/sonar-java/issues/179/events","html_url":"https://github.com/SonarSource/sonar-java/pull/179","id":71542894,"number":179,"title":"SONARJAVA-1030 First implementation inspired from close resources","user":{"login":"benzonico","id":1199708,"avatar_url":"https://avatars.githubusercontent.com/u/1199708?v=3","gravatar_id":"","url":"https://api.github.com/users/benzonico","html_url":"https://github.com/benzonico","followers_url":"https://api.github.com/users/benzonico/followers","following_url":"https://api.github.com/users/benzonico/following{/other_user}","gists_url":"https://api.github.com/users/benzonico/gists{/gist_id}","starred_url":"https://api.github.com/users/benzonico/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benzonico/subscriptions","organizations_url":"https://api.github.com/users/benzonico/orgs","repos_url":"https://api.github.com/users/benzonico/repos","events_url":"https://api.github.com/users/benzonico/events{/privacy}","received_events_url":"https://api.github.com/users/benzonico/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-28T10:04:00Z","updated_at":"2015-04-30T07:51:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SonarSource/sonar-java/pulls/179","html_url":"https://github.com/SonarSource/sonar-java/pull/179","diff_url":"https://github.com/SonarSource/sonar-java/pull/179.diff","patch_url":"https://github.com/SonarSource/sonar-java/pull/179.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/SonarSource/sonar-java/issues/comments/97696531","html_url":"https://github.com/SonarSource/sonar-java/pull/179#issuecomment-97696531","issue_url":"https://api.github.com/repos/SonarSource/sonar-java/issues/179","id":97696531,"user":{"login":"SonarTech","id":1842438,"avatar_url":"https://avatars.githubusercontent.com/u/1842438?v=3","gravatar_id":"","url":"https://api.github.com/users/SonarTech","html_url":"https://github.com/SonarTech","followers_url":"https://api.github.com/users/SonarTech/followers","following_url":"https://api.github.com/users/SonarTech/following{/other_user}","gists_url":"https://api.github.com/users/SonarTech/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarTech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarTech/subscriptions","organizations_url":"https://api.github.com/users/SonarTech/orgs","repos_url":"https://api.github.com/users/SonarTech/repos","events_url":"https://api.github.com/users/SonarTech/events{/privacy}","received_events_url":"https://api.github.com/users/SonarTech/received_events","type":"User","site_admin":false},"created_at":"2015-04-30T07:51:37Z","updated_at":"2015-04-30T07:51:37Z","body":"SonarQube analysis reported 8 new issues:\n* 6 major\n* 1 minor\n* 1 info\n\nDetails:\n* [Change this comparison to use the equals method.](https://github.com/SonarSource/sonar-java/blob/d86e726e44823b074a2e00b7fb4f079e774e7500/java-checks/src/main/java/org/sonar/java/closeresource/CloseableState.java#L55)[![...](https://raw.githubusercontent.com/henryju/image-hosting/master/more.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS1698)\n* [Add the \"@Override\" annotation above this method signature](https://github.com/SonarSource/sonar-java/blob/d86e726e44823b074a2e00b7fb4f079e774e7500/java-checks/src/main/java/org/sonar/java/closeresource/CloseableState.java#L73)[![...](https://raw.githubusercontent.com/henryju/image-hosting/master/more.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS1161)\n* [Change this comparison to use the equals method.](https://github.com/SonarSource/sonar-java/blob/d86e726e44823b074a2e00b7fb4f079e774e7500/java-checks/src/main/java/org/sonar/java/closeresource/CloseableState.java#L46)[![...](https://raw.githubusercontent.com/henryju/image-hosting/master/more.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS1698)\n* [Reduce the number of conditional operators (4) used in the expression (maximum allowed 3).](https://github.com/SonarSource/sonar-java/blob/d86e726e44823b074a2e00b7fb4f079e774e7500/java-checks/src/main/java/org/sonar/java/closeresource/CloseableVisitor.java#L148)[![...](https://raw.githubusercontent.com/henryju/image-hosting/master/more.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS1067)\n* [Complete the task associated to this TODO comment.](https://github.com/SonarSource/sonar-java/blob/d86e726e44823b074a2e00b7fb4f079e774e7500/java-checks/src/main/java/org/sonar/java/closeresource/CloseableVisitor.java#L133)[![...](https://raw.githubusercontent.com/henryju/image-hosting/master/more.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS1135)\n* [Change this comparison to use the equals method.](https://github.com/SonarSource/sonar-java/blob/d86e726e44823b074a2e00b7fb4f079e774e7500/java-checks/src/main/java/org/sonar/java/locks/LockState.java#L46)[![...](https://raw.githubusercontent.com/henryju/image-hosting/master/more.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS1698)\n* [Change this comparison to use the equals method.](https://github.com/SonarSource/sonar-java/blob/d86e726e44823b074a2e00b7fb4f079e774e7500/java-checks/src/main/java/org/sonar/java/locks/LockState.java#L55)[![...](https://raw.githubusercontent.com/henryju/image-hosting/master/more.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS1698)\n* [Add a new line at the end of this file.](https://github.com/SonarSource/sonar-java/blob/d86e726e44823b074a2e00b7fb4f079e774e7500/java-checks/src/main/java/org/sonar/java/locks/LockedVisitor.java)[![...](https://raw.githubusercontent.com/henryju/image-hosting/master/more.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS00113)\n"}}