From ebb29e9a7edf2e7367871c9219c7bc189e340b09 Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Fri, 24 Jan 2025 08:48:03 -0500 Subject: [PATCH] Make test fixture package private Javadoc --- .../commons/codec/binary/Base64TestData.java | 27 ++++++++++++++----- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/src/test/java/org/apache/commons/codec/binary/Base64TestData.java b/src/test/java/org/apache/commons/codec/binary/Base64TestData.java index 05facdb15c..ebca757f9f 100644 --- a/src/test/java/org/apache/commons/codec/binary/Base64TestData.java +++ b/src/test/java/org/apache/commons/codec/binary/Base64TestData.java @@ -23,22 +23,35 @@ * * @see RFC 2045 */ -public class Base64TestData { +class Base64TestData { /** * A valid base 64 encoding that has a length that is a multiple of 3. - * @see Codec 101 + * + * @see CODEC-101 */ - public static final String CODEC_101_INPUT_LENGTH_IS_MULTIPLE_OF_3 = "124"; + static final String CODEC_101_INPUT_LENGTH_IS_MULTIPLE_OF_3 = "124"; - public static final String CODEC_98_NPE = + /** + * See CODEC-98. + * + * @see CODEC-98 + */ + static final String CODEC_98_NPE = "YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXpBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWjAxMjM"; - public static final String CODEC_98_NPE_DECODED = + /** + * See CODEC-98. + * + * @see CODEC-98 + */ + static final String CODEC_98_NPE_DECODED = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123"; - // OpenSSL doesn't include the final \n, but it would be annoying beyond belief - // to further parameterize commons-codec to support this pointless variation. + /** + * OpenSSL doesn't include the final \n, but it would be annoying beyond belief + * to further parameterize commons-codec to support this pointless variation. + */ static final String ENCODED_64_CHARS_PER_LINE = "9IPNKwUvdLiIAp6ctz12SiQmOGstWyYvSPeevufDhrzaws65voykKjbIj33YWTa9\n" + "xA7c/FHypWclrZhQ7onfc3JE93BJ5fT4R9zAEdjbjy1hv4ZYNnET4WJeXMLJ/5p+\n" +