Skip to content

Commit

Permalink
style: fix minor Q/A exceptions
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Reichel <[email protected]>
Signed-off-by: manticore-projects <[email protected]>
  • Loading branch information
manticore-projects committed Jul 28, 2024
1 parent dc14c4b commit e9e157b
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
*/
package net.sf.jsqlparser.util.deparser;

import static java.util.stream.Collectors.joining;

import java.lang.reflect.InvocationTargetException;
import java.util.stream.Collectors;

Expand Down Expand Up @@ -185,8 +183,8 @@ public <S> StringBuilder visit(Truncate truncate, S context) {
buffer.append(" ");
if (truncate.getTables() != null && !truncate.getTables().isEmpty()) {
buffer.append(truncate.getTables().stream()
.map(Table::toString)
.collect(joining(", ")));
.map(Table::toString)
.collect(Collectors.joining(", ")));
} else {
buffer.append(truncate.getTable());
}
Expand Down

0 comments on commit e9e157b

Please sign in to comment.