jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r783004 - /jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/JcrVersionManager.java
Date Tue, 09 Jun 2009 13:56:45 GMT
Author: angela
Date: Tue Jun  9 13:56:45 2009
New Revision: 783004

URL: http://svn.apache.org/viewvc?rev=783004&view=rev
Log:
JCR-2104: JSR 283 Full Versioning

- clean up....

Modified:
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/JcrVersionManager.java

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/JcrVersionManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/JcrVersionManager.java?rev=783004&r1=783003&r2=783004&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/JcrVersionManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/JcrVersionManager.java
Tue Jun  9 13:56:45 2009
@@ -236,21 +236,10 @@
     }
 
     /**
-     * @see javax.jcr.version.VersionManager#removeActivity(String)
-     */
-    public Node removeActivity(String title) throws UnsupportedRepositoryOperationException,
RepositoryException {
-        // TODO uncomment as soon as jsr 283 is fixed
-        // vMgr.removeActivity((NodeState) ((NodeImpl) activityNode).getItemState());   
   
-        throw new UnsupportedOperationException("JCR-2104: JSR 283 Versioning. Implementation
missing");
-    }
-
-    /**
      * @see javax.jcr.version.VersionManager#removeActivity(Node)
      */
-    public void removeActivity(Node node) throws RepositoryException {
-        // TODO
-        throw new UnsupportedRepositoryOperationException(
-                "JCR-2104: JSR 283 Versioning. Implementation missing");
+    public void removeActivity(Node activityNode) throws UnsupportedRepositoryOperationException,
RepositoryException {
+        vMgr.removeActivity((NodeState) ((NodeImpl) activityNode).getItemState());
     }
 
     /**



Mime
View raw message