This is an automated email from the ASF dual-hosted git repository. garydgregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-codec.git
commit 48c8e49ffa1744201fb1d63a9420c1207c28eac5 Author: Gary Gregory <[email protected]> AuthorDate: Sat Nov 21 15:29:13 2026 -0500 Sort members --- .../java/org/apache/commons/codec/cli/DigestStreamingTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/apache/commons/codec/cli/DigestStreamingTest.java b/src/test/java/org/apache/commons/codec/cli/DigestStreamingTest.java index e2a693d4..94144bd5 100644 --- a/src/test/java/org/apache/commons/codec/cli/DigestStreamingTest.java +++ b/src/test/java/org/apache/commons/codec/cli/DigestStreamingTest.java @@ -214,6 +214,10 @@ class DigestStreamingTest { .flatMap(length -> IntStream.of(1, 7, 8192).mapToObj(chunk -> Arguments.of(selector, length, chunk)))); } + private static byte valueAt(final long position) { + return (byte) (position * 31 + 7); + } + @ParameterizedTest(name = "{0}, length={1}, chunk={2}") @MethodSource("standardInputs") void testAllAlgorithmsConsumeStandardInputOnce(final String selector, final int length, final int chunkSize) throws Exception { @@ -324,8 +328,4 @@ class DigestStreamingTest { assertFalse(source.closed, "Failure must not close standard input"); } } - - private static byte valueAt(final long position) { - return (byte) (position * 31 + 7); - } }
