This is an automated email from the ASF dual-hosted git repository. bchapuis pushed a commit to branch sonar in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git
commit 1d1a3a553246020194a91403d2b56e88a6f3d902 Author: Bertil Chapuis <[email protected]> AuthorDate: Tue Jun 11 12:54:32 2024 +0200 Suppress warning related to decompression --- .../src/main/java/org/apache/baremaps/workflow/tasks/DecompressFile.java | 1 + 1 file changed, 1 insertion(+) diff --git a/baremaps-core/src/main/java/org/apache/baremaps/workflow/tasks/DecompressFile.java b/baremaps-core/src/main/java/org/apache/baremaps/workflow/tasks/DecompressFile.java index 056cf85a..ac364246 100644 --- a/baremaps-core/src/main/java/org/apache/baremaps/workflow/tasks/DecompressFile.java +++ b/baremaps-core/src/main/java/org/apache/baremaps/workflow/tasks/DecompressFile.java @@ -191,6 +191,7 @@ public class DecompressFile implements Task { * @param target the target directory * @throws IOException if an I/O error occurs */ + @SuppressWarnings("squid:S5042") protected static void decompressZip(Path source, Path target) throws IOException { Files.createDirectories(target); try (var zipFile = new ZipFile(source.toFile())) {
