Fix the scope of SnappyOutputStream.MIN_BLOCK_SIZE and SnappyOutputStream.DEFAULT_BLOCK_SIZE (#638)

This commit is contained in:
Rodrigo Molina 2025-02-04 06:28:50 +01:00 committed by GitHub
parent 4277fbcdc8
commit 466d05f31f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,8 +60,8 @@ public class SnappyOutputStream
extends OutputStream
{
public static final int MAX_BLOCK_SIZE = 512 * 1024 * 1024; // 512 MiB
static final int MIN_BLOCK_SIZE = 1 * 1024;
static final int DEFAULT_BLOCK_SIZE = 32 * 1024; // Use 32kb for the default block size
public static final int MIN_BLOCK_SIZE = 1 * 1024;
public static final int DEFAULT_BLOCK_SIZE = 32 * 1024; // Use 32kb for the default block size
protected final OutputStream out;
private final int blockSize;