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 f5ed85f6e278b01a173504dc7b06d3378b11f7e5 Author: Gary Gregory <[email protected]> AuthorDate: Sun May 22 07:28:18 2022 -0400 Access constant directly. --- src/test/java/org/apache/commons/codec/binary/Base64Test.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/codec/binary/Base64Test.java b/src/test/java/org/apache/commons/codec/binary/Base64Test.java index f6c91978..332c5afa 100644 --- a/src/test/java/org/apache/commons/codec/binary/Base64Test.java +++ b/src/test/java/org/apache/commons/codec/binary/Base64Test.java @@ -591,7 +591,7 @@ public class Base64Test { */ @Test public void testRfc2045Section2Dot1CrLfDefinition() { - assertArrayEquals(new byte[]{13, 10}, Base64.CHUNK_SEPARATOR); + assertArrayEquals(new byte[]{13, 10}, BaseNCodec.CHUNK_SEPARATOR); } /** @@ -653,7 +653,7 @@ public class Base64Test { */ @Test public void testRfc4648Section10DecodeWithCrLf() { - final String CRLF = StringUtils.newStringUsAscii(Base64.CHUNK_SEPARATOR); + final String CRLF = StringUtils.newStringUsAscii(BaseNCodec.CHUNK_SEPARATOR); assertEquals("", StringUtils.newStringUsAscii(Base64.decodeBase64("" + CRLF))); assertEquals("f", StringUtils.newStringUsAscii(Base64.decodeBase64("Zg==" + CRLF))); assertEquals("fo", StringUtils.newStringUsAscii(Base64.decodeBase64("Zm8=" + CRLF)));
