commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1701128 - /commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/binary/Base64Test.java
Date Thu, 03 Sep 2015 20:18:06 GMT
Author: ggregory
Date: Thu Sep  3 20:18:05 2015
New Revision: 1701128

URL: http://svn.apache.org/r1701128
Log:
[CODEC-203] Add convenience method decodeHex(String).

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

Modified: commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/binary/Base64Test.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/binary/Base64Test.java?rev=1701128&r1=1701127&r2=1701128&view=diff
==============================================================================
--- commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/binary/Base64Test.java
(original)
+++ commons/proper/codec/trunk/src/test/java/org/apache/commons/codec/binary/Base64Test.java
Thu Sep  3 20:18:05 2015
@@ -1230,7 +1230,7 @@ public class Base64Test {
 		final byte[] b1 = StringUtils.getBytesUtf8("Hello World");
 		final byte[] b2 = new byte[0];
 		final byte[] b3 = null;
-		final byte[] b4 = Hex.decodeHex("2bf7cc2701fe4397b49ebeed5acc7090".toCharArray()); // for
+		final byte[] b4 = Hex.decodeHex("2bf7cc2701fe4397b49ebeed5acc7090"); // for
 																							// url-safe
 																							// tests
 
@@ -1254,7 +1254,7 @@ public class Base64Test {
 		final String s3 = null;
 		final String s4a = "K/fMJwH+Q5e0nr7tWsxwkA==\r\n";
 		final String s4b = "K_fMJwH-Q5e0nr7tWsxwkA";
-		final byte[] b4 = Hex.decodeHex("2bf7cc2701fe4397b49ebeed5acc7090".toCharArray()); // for
+		final byte[] b4 = Hex.decodeHex("2bf7cc2701fe4397b49ebeed5acc7090"); // for
 																							// url-safe
 																							// tests
 



Mime
View raw message