jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r770196 - /jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/value/QValueValue.java
Date Thu, 30 Apr 2009 12:23:24 GMT
Author: reschke
Date: Thu Apr 30 12:23:23 2009
New Revision: 770196

URL: http://svn.apache.org/viewvc?rev=770196&view=rev
Log:
JCR-2056: add stubs for new Binary support

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

Modified: jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/value/QValueValue.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/value/QValueValue.java?rev=770196&r1=770195&r2=770196&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/value/QValueValue.java
(original)
+++ jackrabbit/trunk/jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/value/QValueValue.java
Thu Apr 30 12:23:23 2009
@@ -19,8 +19,10 @@
 import java.io.ByteArrayInputStream;
 import java.io.InputStream;
 import java.io.UnsupportedEncodingException;
+import java.math.BigDecimal;
 import java.util.Calendar;
 
+import javax.jcr.Binary;
 import javax.jcr.PropertyType;
 import javax.jcr.RepositoryException;
 import javax.jcr.Value;
@@ -88,6 +90,11 @@
         }
     }
 
+    public Binary getBinary() throws RepositoryException {
+        // TODO
+        throw new RuntimeException("Not implemented yet, see JCR-2056");
+    }
+
     /**
      * @see javax.jcr.Value#getDate()
      */
@@ -211,4 +218,5 @@
         }
         state = STATE_VALUE_CONSUMED;
     }
+
 }



Mime
View raw message