diff options
Diffstat (limited to 'platform/java/src/com/artifex/mupdf/fitz')
-rw-r--r-- | platform/java/src/com/artifex/mupdf/fitz/Buffer.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/platform/java/src/com/artifex/mupdf/fitz/Buffer.java b/platform/java/src/com/artifex/mupdf/fitz/Buffer.java index c98e9985..252ab5d0 100644 --- a/platform/java/src/com/artifex/mupdf/fitz/Buffer.java +++ b/platform/java/src/com/artifex/mupdf/fitz/Buffer.java @@ -6,8 +6,6 @@ public class Buffer Context.init(); } - public static final int DEFAULT_BUFFER_SIZE = 1024; - private long pointer; protected native void finalize(); @@ -24,7 +22,7 @@ public class Buffer } public Buffer() { - pointer = newNativeBuffer(DEFAULT_BUFFER_SIZE); + pointer = newNativeBuffer(0); } public native int getLength(); |