You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2008/06/20 03:37:25 UTC

svn commit: r669759 - /commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java

Author: sebb
Date: Thu Jun 19 18:37:25 2008
New Revision: 669759

URL: http://svn.apache.org/viewvc?rev=669759&view=rev
Log:
Might as well make the isBase64(byte) method public - it may be useful

Modified:
    commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java

Modified: commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java?rev=669759&r1=669758&r2=669759&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java (original)
+++ commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java Thu Jun 19 18:37:25 2008
@@ -457,7 +457,7 @@
      *            The value to test
      * @return <code>true</code> if the value is defined in the the base 64 alphabet, <code>false</code> otherwise.
      */
-    private static boolean isBase64(byte octet) {
+    public static boolean isBase64(byte octet) {
         return octet == PAD || (octet >= 0 && octet < base64ToInt.length && base64ToInt[octet] != -1);
     }