diff --git a/projects/apache-commons-compress/ArchiverArjFuzzer.java b/projects/apache-commons-compress/ArchiverArjFuzzer.java index cb5053a649a0..ada2b14987a8 100644 --- a/projects/apache-commons-compress/ArchiverArjFuzzer.java +++ b/projects/apache-commons-compress/ArchiverArjFuzzer.java @@ -14,7 +14,6 @@ // //////////////////////////////////////////////////////////////////////////////// -import org.apache.commons.compress.archivers.ArchiveException; import org.apache.commons.compress.archivers.arj.ArjArchiveInputStream; import java.io.ByteArrayInputStream; @@ -24,7 +23,7 @@ public class ArchiverArjFuzzer extends BaseTests { public static void fuzzerTestOneInput(byte[] data) { try { fuzzArchiveInputStream(new ArjArchiveInputStream(new ByteArrayInputStream(data))); - } catch (ArchiveException | IOException ignored) { + } catch (IOException ignored) { } } } diff --git a/projects/apache-commons-compress/ArchiverDumpFuzzer.java b/projects/apache-commons-compress/ArchiverDumpFuzzer.java index a8158d06aef7..e4d38d780b3b 100644 --- a/projects/apache-commons-compress/ArchiverDumpFuzzer.java +++ b/projects/apache-commons-compress/ArchiverDumpFuzzer.java @@ -14,7 +14,6 @@ // //////////////////////////////////////////////////////////////////////////////// -import org.apache.commons.compress.archivers.ArchiveException; import org.apache.commons.compress.archivers.dump.DumpArchiveInputStream; import java.io.ByteArrayInputStream; @@ -24,7 +23,7 @@ public class ArchiverDumpFuzzer extends BaseTests { public static void fuzzerTestOneInput(byte[] data) { try { fuzzArchiveInputStream(new DumpArchiveInputStream(new ByteArrayInputStream(data))); - } catch (ArchiveException|IOException ignored) { + } catch (IOException ignored) { } } }