Skip to content

Commit 466d05f

Browse files
Fix the scope of SnappyOutputStream.MIN_BLOCK_SIZE and SnappyOutputStream.DEFAULT_BLOCK_SIZE (#638)
1 parent 4277fbc commit 466d05f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/xerial/snappy/SnappyOutputStream.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ public class SnappyOutputStream
6060
extends OutputStream
6161
{
6262
public static final int MAX_BLOCK_SIZE = 512 * 1024 * 1024; // 512 MiB
63-
static final int MIN_BLOCK_SIZE = 1 * 1024;
64-
static final int DEFAULT_BLOCK_SIZE = 32 * 1024; // Use 32kb for the default block size
63+
public static final int MIN_BLOCK_SIZE = 1 * 1024;
64+
public static final int DEFAULT_BLOCK_SIZE = 32 * 1024; // Use 32kb for the default block size
6565

6666
protected final OutputStream out;
6767
private final int blockSize;

0 commit comments

Comments
 (0)