Skip to content

Commit 3572232

Browse files
committed
Use a Java 1.4 constructor, not 1.5 (yet)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@928099 13f79535-47bb-0310-9956-ffa450edef68
1 parent cbe33f0 commit 3572232

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/org/apache/commons/codec/binary/Base64Codec13Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ private static byte[] utf8(String s) {
495495
try {
496496
return s != null ? s.getBytes("UTF-8") : null;
497497
} catch (UnsupportedEncodingException uee) {
498-
throw new IllegalStateException(uee);
498+
throw new IllegalStateException(uee.toString());
499499
}
500500
}
501501

0 commit comments

Comments
 (0)