Skip to content

Commit e9e157b

Browse files
style: fix minor Q/A exceptions
Signed-off-by: Andreas Reichel <[email protected]> Signed-off-by: manticore-projects <[email protected]>
1 parent dc14c4b commit e9e157b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/main/java/net/sf/jsqlparser/util/deparser/StatementDeParser.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
*/
1010
package net.sf.jsqlparser.util.deparser;
1111

12-
import static java.util.stream.Collectors.joining;
13-
1412
import java.lang.reflect.InvocationTargetException;
1513
import java.util.stream.Collectors;
1614

@@ -185,8 +183,8 @@ public <S> StringBuilder visit(Truncate truncate, S context) {
185183
buffer.append(" ");
186184
if (truncate.getTables() != null && !truncate.getTables().isEmpty()) {
187185
buffer.append(truncate.getTables().stream()
188-
.map(Table::toString)
189-
.collect(joining(", ")));
186+
.map(Table::toString)
187+
.collect(Collectors.joining(", ")));
190188
} else {
191189
buffer.append(truncate.getTable());
192190
}

0 commit comments

Comments
 (0)