Skip to content

Commit

Permalink
Fix apache-commmons-compress build. (#12843)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverchang authored Dec 12, 2024
1 parent a7021ed commit d9d0349
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions projects/apache-commons-compress/ArchiverArjFuzzer.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
//
////////////////////////////////////////////////////////////////////////////////

import org.apache.commons.compress.archivers.ArchiveException;
import org.apache.commons.compress.archivers.arj.ArjArchiveInputStream;

import java.io.ByteArrayInputStream;
Expand All @@ -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) {
}
}
}
3 changes: 1 addition & 2 deletions projects/apache-commons-compress/ArchiverDumpFuzzer.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
//
////////////////////////////////////////////////////////////////////////////////

import org.apache.commons.compress.archivers.ArchiveException;
import org.apache.commons.compress.archivers.dump.DumpArchiveInputStream;

import java.io.ByteArrayInputStream;
Expand All @@ -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) {
}
}
}

0 comments on commit d9d0349

Please sign in to comment.