jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r588723 - /jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/value/QValueFactoryImpl.java
Date Fri, 26 Oct 2007 17:51:53 GMT
Author: reschke
Date: Fri Oct 26 10:51:53 2007
New Revision: 588723

URL: http://svn.apache.org/viewvc?rev=588723&view=rev
Log:
JCR-1151: fix JDK 1.4 compilation problem.

Modified:
    jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/value/QValueFactoryImpl.java

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/value/QValueFactoryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/value/QValueFactoryImpl.java?rev=588723&r1=588722&r2=588723&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/value/QValueFactoryImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/value/QValueFactoryImpl.java
Fri Oct 26 10:51:53 2007
@@ -109,14 +109,14 @@
      * @see QValueFactory#create(double)
      */
     public QValue create(double value) {
-        return new QValueImpl(Double.valueOf(value));
+        return new QValueImpl(new Double(value));
     }
 
     /**
      * @see QValueFactory#create(long)
      */
     public QValue create(long value) {
-        return new QValueImpl(Long.valueOf(value));
+        return new QValueImpl(new Long(value));
     }
 
     /**



Mime
View raw message