Skip to content

Commit de8ad10

Browse files
committed
fixes some lgtm alerts
1 parent 1f22bd9 commit de8ad10

File tree

3 files changed

+239
-237
lines changed

3 files changed

+239
-237
lines changed

src/main/java/net/sf/jsqlparser/JSQLParserException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public JSQLParserException(String arg0, Throwable arg1) {
4848
}
4949

5050
@Override
51-
public Throwable getCause() {
51+
public synchronized Throwable getCause() {
5252
return cause;
5353
}
5454

src/main/java/net/sf/jsqlparser/util/TablesNamesFinder.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,6 @@ public class TablesNamesFinder implements SelectVisitor, FromItemVisitor, Expres
152152

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

175172
/**
176173
* Main entry for this Tool class. A list of found tables is returned.
177-
*
178-
* @param update
179-
* @return
180174
*/
181175
public List<String> getTableList(Expression expr) {
182176
init(true);

0 commit comments

Comments
 (0)