Skip to content

Commit

Permalink
style: Appease PMD/Codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
manticore-projects committed Jan 29, 2023
1 parent c57c427 commit 86ec07c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/test/java/net/sf/jsqlparser/test/TestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import java.util.List;
import java.util.Map;
import java.util.function.Consumer;
import java.util.logging.*;
import java.util.regex.Pattern;
import java.util.stream.Collectors;
import java.util.stream.Stream;
Expand Down Expand Up @@ -155,9 +156,9 @@ private static void writeTestToFile(String sanitizedInputSqlStr) {
IOUtils.write("\n;", fileWriter);
}
IOUtils.write("\n\n", fileWriter);
} catch (IOException e) {
throw new RuntimeException(e);
}
} catch (IOException ex) {
Logger.getLogger(TestUtils.class.getName()).log(Level.SEVERE, "Writing SQL to file failed.", ex);
}throw new RuntimeException(e);
}
}

Expand Down

0 comments on commit 86ec07c

Please sign in to comment.