db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r387343 - /db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/util/signature/SignatureVerifier.java
Date Mon, 20 Mar 2006 23:28:41 GMT
Author: clr
Date: Mon Mar 20 15:28:35 2006
New Revision: 387343

URL: http://svn.apache.org/viewcvs?rev=387343&view=rev
Log:
JDO-342 Changed Character.valueOf to new Character to support JDK 1.4

Modified:
    db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/util/signature/SignatureVerifier.java

Modified: db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/util/signature/SignatureVerifier.java
URL: http://svn.apache.org/viewcvs/db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/util/signature/SignatureVerifier.java?rev=387343&r1=387342&r2=387343&view=diff
==============================================================================
--- db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/util/signature/SignatureVerifier.java (original)
+++ db/jdo/trunk/tck20/src/java/org/apache/jdo/tck/util/signature/SignatureVerifier.java Mon
Mar 20 15:28:35 2006
@@ -346,7 +346,7 @@
                     exp = Double.valueOf(value);
                 } else if (type.equals("char")) {
                     // cut off '\'' char at begin and end
-                    exp = Character.valueOf(value.charAt(1));
+                    exp = new Character(value.charAt(1));
                 } else if (type.equals("java.lang.String")) {
                     // cut off '\"' chars at begin and end
                     final String s = value.substring(1, value.length() - 1);



Mime
View raw message