commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r669759 - /commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java
Date Fri, 20 Jun 2008 01:37:25 GMT
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);
     }
 



Mime
View raw message