Skip to content

Commit 5e2c0d1

Browse files
committed
Might as well make the isBase64(byte) method public - it may be useful
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@669759 13f79535-47bb-0310-9956-ffa450edef68
1 parent d0d8b84 commit 5e2c0d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ void decode(byte[] in, int inPos, int inAvail) {
457457
* The value to test
458458
* @return <code>true</code> if the value is defined in the the base 64 alphabet, <code>false</code> otherwise.
459459
*/
460-
private static boolean isBase64(byte octet) {
460+
public static boolean isBase64(byte octet) {
461461
return octet == PAD || (octet >= 0 && octet < base64ToInt.length && base64ToInt[octet] != -1);
462462
}
463463

0 commit comments

Comments
 (0)