This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git


The following commit(s) were added to refs/heads/master by this push:
     new fdd6042d Make constant definitions more readable
fdd6042d is described below

commit fdd6042da49e2424d55555a45932c4040e87b6a0
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Nov 5 07:05:12 2023 -0500

    Make constant definitions more readable
---
 .../org/apache/commons/compress/compressors/bzip2/BZip2Constants.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2Constants.java
 
b/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2Constants.java
index f2ccbe58..ea678512 100644
--- 
a/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2Constants.java
+++ 
b/src/main/java/org/apache/commons/compress/compressors/bzip2/BZip2Constants.java
@@ -24,7 +24,7 @@ package org.apache.commons.compress.compressors.bzip2;
  */
 interface BZip2Constants {
 
-    int BASEBLOCKSIZE = 100000;
+    int BASEBLOCKSIZE = 100_000;
     int MAX_ALPHA_SIZE = 258;
     int MAX_CODE_LEN = 23;
     int RUNA = 0;
@@ -32,7 +32,7 @@ interface BZip2Constants {
     int N_GROUPS = 6;
     int G_SIZE = 50;
     int N_ITERS = 4;
-    int MAX_SELECTORS = 2 + 900000 / G_SIZE;
+    int MAX_SELECTORS = 2 + 900_000 / G_SIZE;
     int NUM_OVERSHOOT_BYTES = 20;
 
 }
\ No newline at end of file

Reply via email to