Skip to content

Commit

Permalink
Fix crash with ChannelZipContainer before API 26 (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-menu authored Oct 2, 2023
1 parent e66cf65 commit 4850dd3
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.ByteBuffer;
import java.nio.file.LinkOption;

/**
* Utility functions
Expand All @@ -38,13 +37,6 @@ public final class IOUtils {
private static final int COPY_BUF_SIZE = 8024;
private static final int SKIP_BUF_SIZE = 4096;

/**
* Empty array of type {@link LinkOption}.
*
* @since 1.21
*/
public static final LinkOption[] EMPTY_LINK_OPTIONS = {};

// This buffer does not need to be synchronized because it is write only; the contents are ignored
// Does not affect Immutability
private static final byte[] SKIP_BUF = new byte[SKIP_BUF_SIZE];
Expand Down

0 comments on commit 4850dd3

Please sign in to comment.