You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/01/08 13:06:28 UTC
(commons-codec) 03/03: Reuse package-private constant
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-codec.git
commit a3d9ecaf25dd5e6a1eaa87f7d8756867e1a638ea
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jan 8 08:06:20 2024 -0500
Reuse package-private constant
---
src/test/java/org/apache/commons/codec/digest/DigestUtilsTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/codec/digest/DigestUtilsTest.java b/src/test/java/org/apache/commons/codec/digest/DigestUtilsTest.java
index 039b826e..7b5baf9d 100644
--- a/src/test/java/org/apache/commons/codec/digest/DigestUtilsTest.java
+++ b/src/test/java/org/apache/commons/codec/digest/DigestUtilsTest.java
@@ -56,7 +56,7 @@ public class DigestUtilsTest {
private static final String EMPTY_STRING = "";
- private final byte[] testData = new byte[1024 * 1024];
+ private final byte[] testData = new byte[DigestUtils.BUFFER_SIZE * DigestUtils.BUFFER_SIZE];
private Path testFile;