{"action":"created","issue":{"url":"https://api.github.com/repos/SonarSource/sonar-java/issues/302","labels_url":"https://api.github.com/repos/SonarSource/sonar-java/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/SonarSource/sonar-java/issues/302/comments","events_url":"https://api.github.com/repos/SonarSource/sonar-java/issues/302/events","html_url":"https://github.com/SonarSource/sonar-java/pull/302","id":89566975,"number":302,"title":"Remove ASTNode from Tree factory based on michael work.","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":1,"created_at":"2015-06-19T13:39:07Z","updated_at":"2015-06-19T15:24:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SonarSource/sonar-java/pulls/302","html_url":"https://github.com/SonarSource/sonar-java/pull/302","diff_url":"https://github.com/SonarSource/sonar-java/pull/302.diff","patch_url":"https://github.com/SonarSource/sonar-java/pull/302.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/SonarSource/sonar-java/issues/comments/113547553","html_url":"https://github.com/SonarSource/sonar-java/pull/302#issuecomment-113547553","issue_url":"https://api.github.com/repos/SonarSource/sonar-java/issues/302","id":113547553,"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-06-19T15:24:35Z","updated_at":"2015-06-19T15:24:35Z","body":"SonarQube analysis reported 29 issues:\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) 14 major\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) 13 minor\n* ![INFO](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-info.png) 2 info\n\nWatch the comments in this conversation to review them.\nNote: the following issues could not be reported as comments because they are located on lines that are not displayed in this pull request:\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) [Split this 188 characters long line (which is greater than 180 authorized).](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L1359) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS00103)\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [Remove those useless parentheses.](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L165) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AUselessParenthesesCheck)\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) [Split this 184 characters long line (which is greater than 180 authorized).](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L1108) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS00103)\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) [Split this 182 characters long line (which is greater than 180 authorized).](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L233) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS00103)\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) [Split this 190 characters long line (which is greater than 180 authorized).](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L907) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS00103)\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [Remove those useless parentheses.](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L122) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AUselessParenthesesCheck)\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [Remove those useless parentheses.](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L748) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AUselessParenthesesCheck)\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) [Split this 190 characters long line (which is greater than 180 authorized).](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L865) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS00103)\n* ![INFO](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-info.png) [Complete the task associated to this TODO comment.](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L1537) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS1135)\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) [Split this 181 characters long line (which is greater than 180 authorized).](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L1008) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS00103)\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) [Split this 211 characters long line (which is greater than 180 authorized).](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L1241) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS00103)\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [Take the required action to fix the issue indicated by this comment.](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L243) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS1134)\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) [Split this 184 characters long line (which is greater than 180 authorized).](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L898) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS00103)\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) [Split this 197 characters long line (which is greater than 180 authorized).](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L966) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS00103)\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [Remove those useless parentheses.](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L375) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AUselessParenthesesCheck)\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [This block of commented-out lines of code should be removed.](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L432) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3ACommentedOutCodeLine)\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) [Split this 189 characters long line (which is greater than 180 authorized).](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L752) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS00103)\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) [Split this 181 characters long line (which is greater than 180 authorized).](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L2248) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS00103)\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) [Split this 182 characters long line (which is greater than 180 authorized).](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L1133) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS00103)\n* ![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) [Split this 200 characters long line (which is greater than 180 authorized).](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/ast/parser/TreeFactory.java#L1531) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AS00103)\n* ![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) [Private method 'getLastTokenAstNode' is never used.](https://github.com/SonarSource/sonar-java/blob/12c6b1c2ea5a31c4c0c30fe72f99c76cf73a9ab1/java-squid/src/main/java/org/sonar/java/model/JavaTree.java#L583) [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://nemo.sonarqube.org/coding_rules#rule_key=squid%3AUnusedPrivateMethod)\n"}}