From 777f83c0b6361b09c391df6aa8f6ba6f5e603f93 Mon Sep 17 00:00:00 2001 From: lorriborri Date: Fri, 13 Oct 2023 15:34:51 +0200 Subject: [PATCH] Executed spotless #2505 --- .../util/ZipFileExtractor.java | 6 +++--- .../util/ZipFileExtractorTest.java | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/sechub-wrapper-xray/src/main/java/com.mercedesbenz.sechub.xraywrapper/util/ZipFileExtractor.java b/sechub-wrapper-xray/src/main/java/com.mercedesbenz.sechub.xraywrapper/util/ZipFileExtractor.java index dfb79cd9e3..01ebf2bf90 100644 --- a/sechub-wrapper-xray/src/main/java/com.mercedesbenz.sechub.xraywrapper/util/ZipFileExtractor.java +++ b/sechub-wrapper-xray/src/main/java/com.mercedesbenz.sechub.xraywrapper/util/ZipFileExtractor.java @@ -1,8 +1,5 @@ package com.mercedesbenz.sechub.xraywrapper.util; -import com.mercedesbenz.sechub.xraywrapper.cli.XrayWrapperExitCode; -import com.mercedesbenz.sechub.xraywrapper.report.XrayWrapperReportException; - import java.io.File; import java.io.FileInputStream; import java.io.IOException; @@ -12,6 +9,9 @@ import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; +import com.mercedesbenz.sechub.xraywrapper.cli.XrayWrapperExitCode; +import com.mercedesbenz.sechub.xraywrapper.report.XrayWrapperReportException; + public class ZipFileExtractor { public static boolean fileExists(String filename) { diff --git a/sechub-wrapper-xray/src/test/java/com.mercedesbenz.sechub.xraywrapper/util/ZipFileExtractorTest.java b/sechub-wrapper-xray/src/test/java/com.mercedesbenz.sechub.xraywrapper/util/ZipFileExtractorTest.java index a1ef0d9485..a6d7194966 100644 --- a/sechub-wrapper-xray/src/test/java/com.mercedesbenz.sechub.xraywrapper/util/ZipFileExtractorTest.java +++ b/sechub-wrapper-xray/src/test/java/com.mercedesbenz.sechub.xraywrapper/util/ZipFileExtractorTest.java @@ -1,12 +1,13 @@ package com.mercedesbenz.sechub.xraywrapper.util; -import com.mercedesbenz.sechub.xraywrapper.report.XrayWrapperReportException; -import org.junit.jupiter.api.Test; +import static com.mercedesbenz.sechub.xraywrapper.util.ZipFileExtractor.unzipFile; +import static org.junit.jupiter.api.Assertions.assertThrows; import java.io.File; -import static com.mercedesbenz.sechub.xraywrapper.util.ZipFileExtractor.unzipFile; -import static org.junit.jupiter.api.Assertions.assertThrows; +import org.junit.jupiter.api.Test; + +import com.mercedesbenz.sechub.xraywrapper.report.XrayWrapperReportException; class ZipFileExtractorTest {