Skip to content

Commit f5ed85f

Browse files
committed
Access constant directly.
1 parent 23a1022 commit f5ed85f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/org/apache/commons/codec/binary/Base64Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ public void testPairs() {
591591
*/
592592
@Test
593593
public void testRfc2045Section2Dot1CrLfDefinition() {
594-
assertArrayEquals(new byte[]{13, 10}, Base64.CHUNK_SEPARATOR);
594+
assertArrayEquals(new byte[]{13, 10}, BaseNCodec.CHUNK_SEPARATOR);
595595
}
596596

597597
/**
@@ -653,7 +653,7 @@ public void testRfc4648Section10Decode() {
653653
*/
654654
@Test
655655
public void testRfc4648Section10DecodeWithCrLf() {
656-
final String CRLF = StringUtils.newStringUsAscii(Base64.CHUNK_SEPARATOR);
656+
final String CRLF = StringUtils.newStringUsAscii(BaseNCodec.CHUNK_SEPARATOR);
657657
assertEquals("", StringUtils.newStringUsAscii(Base64.decodeBase64("" + CRLF)));
658658
assertEquals("f", StringUtils.newStringUsAscii(Base64.decodeBase64("Zg==" + CRLF)));
659659
assertEquals("fo", StringUtils.newStringUsAscii(Base64.decodeBase64("Zm8=" + CRLF)));

0 commit comments

Comments
 (0)