jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r773840 - /jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/value/BaseValue.java
Date Tue, 12 May 2009 10:28:20 GMT
Author: angela
Date: Tue May 12 10:28:20 2009
New Revision: 773840

URL: http://svn.apache.org/viewvc?rev=773840&view=rev
Log:
JCR-1104: JSR 283 support

- fix exception message
- add TODO tag

Modified:
    jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/value/BaseValue.java

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/value/BaseValue.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/value/BaseValue.java?rev=773840&r1=773839&r2=773840&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/value/BaseValue.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/value/BaseValue.java
Tue May 12 10:28:20 2009
@@ -190,7 +190,7 @@
             // TODO: Is this the correct way to handle BigDecimal conversion
             return new BigDecimal(getInternalString());
         } catch (NumberFormatException e) {
-            throw new ValueFormatException("conversion to double failed", e);
+            throw new ValueFormatException("conversion to Decimal failed", e);
         }
     }
 
@@ -221,6 +221,7 @@
     public Binary getBinary()
             throws ValueFormatException, IllegalStateException,
             RepositoryException {
+        // TODO
         throw new UnsupportedRepositoryOperationException("JCR-2056");
     }
 



Mime
View raw message