Skip to content

Commit

Permalink
fixes some lgtm alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
wumpz committed Oct 4, 2018
1 parent 1f22bd9 commit de8ad10
Show file tree
Hide file tree
Showing 3 changed files with 239 additions and 237 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/sf/jsqlparser/JSQLParserException.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public JSQLParserException(String arg0, Throwable arg1) {
}

@Override
public Throwable getCause() {
public synchronized Throwable getCause() {
return cause;
}

Expand Down
6 changes: 0 additions & 6 deletions src/main/java/net/sf/jsqlparser/util/TablesNamesFinder.java
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,6 @@ public class TablesNamesFinder implements SelectVisitor, FromItemVisitor, Expres

/**
* Main entry for this Tool class. A list of found tables is returned.
*
* @param delete
* @return
*/
public List<String> getTableList(Statement statement) {
init(false);
Expand All @@ -174,9 +171,6 @@ public void visit(Select select) {

/**
* Main entry for this Tool class. A list of found tables is returned.
*
* @param update
* @return
*/
public List<String> getTableList(Expression expr) {
init(true);
Expand Down
Loading

0 comments on commit de8ad10

Please sign in to comment.