Author: julius Date: Tue Jan 25 01:28:11 2011 New Revision: 1063096 URL: http://svn.apache.org/viewvc?rev=1063096&view=rev Log: CODEC-99 - Oops, I forgot to update the Javadoc. Thanks, Sebb, for pointing that out!
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=1063096&r1=1063095&r2=1063096&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 01:28:11 2011 @@ -648,12 +648,15 @@ public class Base64 implements BinaryEnc } /** - * Encodes binary data using the base64 algorithm into 76 character blocks separated by CRLF. + * Encodes binary data using the base64 algorithm but does not chunk the output. * + * NOTE: We changed the behaviour of this method from multi-line chunking (commons-codec-1.4) to + * single-line non-chunking (commons-codec-1.5). + * * @param binaryData * binary data to encode * @return String containing Base64 characters. - * @since 1.4 + * @since 1.4 (NOTE: 1.4 chunked the output, whereas 1.5 does not). */ public static String encodeBase64String(byte[] binaryData) { return StringUtils.newStringUtf8(encodeBase64(binaryData, false));