Skip to content

Commit a791fb3

Browse files
committed
Don't use the now deprecated isArrayByteBase64 method, use its replacement isBase64
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1063421 13f79535-47bb-0310-9956-ffa450edef68
1 parent 9c9e36e commit a791fb3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/java/org/apache/commons/codec/binary/Base64.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ public static boolean isBase64(byte octet) {
600600
* @since 1.5
601601
*/
602602
public static boolean isBase64(String base64) {
603-
return isArrayByteBase64(StringUtils.getBytesUtf8(base64));
603+
return isBase64(StringUtils.getBytesUtf8(base64));
604604
}
605605

606606
/**
@@ -611,7 +611,7 @@ public static boolean isBase64(String base64) {
611611
* byte array to test
612612
* @return <code>true</code> if all bytes are valid characters in the Base64 alphabet or if the byte array is empty;
613613
* <code>false</code>, otherwise
614-
* @deprecated Use {@link #isBase64(byte[])}
614+
* @deprecated 1.5 Use {@link #isBase64(byte[])}
615615
*/
616616
public static boolean isArrayByteBase64(byte[] arrayOctet) {
617617
return isBase64(arrayOctet);

0 commit comments

Comments
 (0)