Skip to content

Commit

Permalink
removed Exception logging for false multipart name test
Browse files Browse the repository at this point in the history
  • Loading branch information
wumpz committed Feb 4, 2014
1 parent 99e99e1 commit 7a94fa7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.6</version>
<configuration>
<aggregate>true</aggregate>
<outputDirectory>%{project.reporting.outputDirectory}/cobertura</outputDirectory>
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/net/sf/jsqlparser/test/select/SelectTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public void testMultiPartColumnNameWithDatabaseNameAndSchemaName() {
select = (Select) parserManager.parse(new StringReader(statement));
fail("must not work");
} catch (JSQLParserException ex) {
Logger.getLogger(SelectTest.class.getName()).log(Level.SEVERE, null, ex);
//Logger.getLogger(SelectTest.class.getName()).log(Level.SEVERE, null, ex);
}
}

Expand All @@ -117,7 +117,7 @@ public void testMultiPartColumnNameWithDatabaseName() {
select = (Select) parserManager.parse(new StringReader(statement));
fail("must not work");
} catch (JSQLParserException ex) {
Logger.getLogger(SelectTest.class.getName()).log(Level.SEVERE, null, ex);
//Logger.getLogger(SelectTest.class.getName()).log(Level.SEVERE, null, ex);
}
}

Expand All @@ -136,7 +136,7 @@ public void testMultiPartColumnNameWithSchemaName() {
select = (Select) parserManager.parse(new StringReader(statement));
fail("must not work");
} catch (JSQLParserException ex) {
Logger.getLogger(SelectTest.class.getName()).log(Level.SEVERE, null, ex);
//Logger.getLogger(SelectTest.class.getName()).log(Level.SEVERE, null, ex);
}
}

Expand Down

0 comments on commit 7a94fa7

Please sign in to comment.