fixed sonar rule violations

This commit is contained in:
wenshao
2012-08-29 15:26:59 +08:00
parent a7ae8848fa
commit c96af1628e
9 changed files with 43 additions and 48 deletions
@@ -73,9 +73,9 @@ public class PGExprParser extends SQLExprParser{
over.setOrderBy(parseOrderBy());
if (over.getOrderBy() != null) {
//TODO window
}
// if (over.getOrderBy() != null) {
// //TODO window
// }
accept(Token.RPAREN);
aggregateExpr.setOver(over);
@@ -147,9 +147,6 @@ public class PGSelectParser extends SQLSelectParser {
if (lexer.token() == Token.ROW || lexer.token() == Token.ROWS) {
lexer.nextToken();
} else {
// TODO
// throw new ParserException("expect 'ROW' or 'ROWS'");
}
}