commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r928109 - in /commons/proper/codec/trunk: src/test/org/apache/commons/codec/binary/Base64Codec13Test.java xdocs/changes.xml
Date Sat, 27 Mar 2010 00:09:53 GMT
Author: sebb
Date: Sat Mar 27 00:09:52 2010
New Revision: 928109

URL: http://svn.apache.org/viewvc?rev=928109&view=rev
Log:
JIRA: CODEC-97 Base64 default constructor behaviour changed to enable chunking in 1.4

Modified:
    commons/proper/codec/trunk/src/test/org/apache/commons/codec/binary/Base64Codec13Test.java
    commons/proper/codec/trunk/xdocs/changes.xml

Modified: commons/proper/codec/trunk/src/test/org/apache/commons/codec/binary/Base64Codec13Test.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/org/apache/commons/codec/binary/Base64Codec13Test.java?rev=928109&r1=928108&r2=928109&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/org/apache/commons/codec/binary/Base64Codec13Test.java
(original)
+++ commons/proper/codec/trunk/src/test/org/apache/commons/codec/binary/Base64Codec13Test.java
Sat Mar 27 00:09:52 2010
@@ -547,4 +547,8 @@ public class Base64Codec13Test extends T
         }
 
     }
+    public void testObjectEncode() throws Exception {
+        Base64 b64 = new Base64();
+        assertEquals("SGVsbG8gV29ybGQ=", new String(b64.encode("Hello World".getBytes("UTF-8"))));
+    }
 }

Modified: commons/proper/codec/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/xdocs/changes.xml?rev=928109&r1=928108&r2=928109&view=diff
==============================================================================
--- commons/proper/codec/trunk/xdocs/changes.xml (original)
+++ commons/proper/codec/trunk/xdocs/changes.xml Sat Mar 27 00:09:52 2010
@@ -23,6 +23,9 @@
     </properties>
     <body>
         <release version="TBA" date="TBA" description="TBC">
+            <action dev="sebb" type="fix" issue="CODEC-97">
+             Base64 default constructor behaviour changed to enable chunking in 1.4
+            </action>
             <action dev="sebb" type="fix" issue="CODEC-89">
              new Base64().encode() appends a CRLF, and chunks results into 76 character lines
             </action>



Mime
View raw message