commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1063421 - /commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/Base64.java
Date Tue, 25 Jan 2011 19:41:08 GMT
Author: sebb
Date: Tue Jan 25 19:41:08 2011
New Revision: 1063421

URL: http://svn.apache.org/viewvc?rev=1063421&view=rev
Log:
Don't use the now deprecated isArrayByteBase64 method, use its replacement isBase64

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=1063421&r1=1063420&r2=1063421&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 Tue Jan
25 19:41:08 2011
@@ -600,7 +600,7 @@ public class Base64 implements BinaryEnc
      *  @since 1.5
      */
     public static boolean isBase64(String base64) {
-        return isArrayByteBase64(StringUtils.getBytesUtf8(base64));
+        return isBase64(StringUtils.getBytesUtf8(base64));
     }
 
     /**
@@ -611,7 +611,7 @@ public class Base64 implements BinaryEnc
      *            byte array to test
      * @return <code>true</code> if all bytes are valid characters in the Base64
alphabet or if the byte array is empty;
      *         <code>false</code>, otherwise
-     * @deprecated Use {@link #isBase64(byte[])}
+     * @deprecated 1.5 Use {@link #isBase64(byte[])}
      */
     public static boolean isArrayByteBase64(byte[] arrayOctet) {
         return isBase64(arrayOctet);



Mime
View raw message