Skip to content

Commit 4850dd3

Browse files
authored
Fix crash with ChannelZipContainer before API 26 (#403)
1 parent e66cf65 commit 4850dd3

File tree

1 file changed

+0
-8
lines changed
  • readium/shared/src/main/java/org/readium/r2/shared/util/archive/channel/compress/utils

1 file changed

+0
-8
lines changed

readium/shared/src/main/java/org/readium/r2/shared/util/archive/channel/compress/utils/IOUtils.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
import java.io.InputStream;
2828
import java.io.OutputStream;
2929
import java.nio.ByteBuffer;
30-
import java.nio.file.LinkOption;
3130

3231
/**
3332
* Utility functions
@@ -38,13 +37,6 @@ public final class IOUtils {
3837
private static final int COPY_BUF_SIZE = 8024;
3938
private static final int SKIP_BUF_SIZE = 4096;
4039

41-
/**
42-
* Empty array of type {@link LinkOption}.
43-
*
44-
* @since 1.21
45-
*/
46-
public static final LinkOption[] EMPTY_LINK_OPTIONS = {};
47-
4840
// This buffer does not need to be synchronized because it is write only; the contents are ignored
4941
// Does not affect Immutability
5042
private static final byte[] SKIP_BUF = new byte[SKIP_BUF_SIZE];

0 commit comments

Comments
 (0)