jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r770237 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/PropertyImpl.java
Date Thu, 30 Apr 2009 14:05:25 GMT
Author: jukka
Date: Thu Apr 30 14:05:25 2009
New Revision: 770237

URL: http://svn.apache.org/viewvc?rev=770237&view=rev
Log:
JCR-2056: JSR 283: Binary interfaces

Added missing Property methods

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/PropertyImpl.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/PropertyImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/PropertyImpl.java?rev=770237&r1=770236&r2=770237&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/PropertyImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/PropertyImpl.java
Thu Apr 30 14:05:25 2009
@@ -23,7 +23,6 @@
 
 import javax.jcr.Binary;
 import javax.jcr.InvalidItemStateException;
-import javax.jcr.ItemNotFoundException;
 import javax.jcr.ItemVisitor;
 import javax.jcr.Node;
 import javax.jcr.Property;
@@ -529,6 +528,14 @@
         throw new UnsupportedRepositoryOperationException("JCR-1609");
     }
 
+    public Binary getBinary() throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("JCR-2056");
+    }
+
+    public void setValue(Binary value) throws RepositoryException {
+        throw new UnsupportedRepositoryOperationException("JCR-2056");
+    }
+
     public void setValue(Calendar value) throws RepositoryException {
         if (value != null) {
             try {



Mime
View raw message