jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1424484 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/version/VersionManagerImpl.java
Date Thu, 20 Dec 2012 14:24:02 GMT
Author: mreutegg
Date: Thu Dec 20 14:24:02 2012
New Revision: 1424484

URL: http://svn.apache.org/viewvc?rev=1424484&view=rev
Log:
OAK-168: Basic JCR VersionManager support (WIP)
- disable partial checkin/checkout implementation until it's complete

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/version/VersionManagerImpl.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/version/VersionManagerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/version/VersionManagerImpl.java?rev=1424484&r1=1424483&r2=1424484&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/version/VersionManagerImpl.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/version/VersionManagerImpl.java
Thu Dec 20 14:24:02 2012
@@ -188,6 +188,9 @@ public class VersionManagerImpl implemen
 
     @Override
     public void checkout(final String absPath) throws RepositoryException {
+        if (true) {
+            TODO.unimplemented().doNothing();
+        }
         final SessionDelegate sessionDelegate = versionManagerDelegate.getSessionDelegate();
         sessionDelegate.perform(new SessionOperation<Void>() {
             @Override
@@ -208,6 +211,9 @@ public class VersionManagerImpl implemen
 
     @Override
     public Version checkin(final String absPath) throws RepositoryException {
+        if (true) {
+            return TODO.dummyImplementation().returnValue(getBaseVersion(absPath));
+        }
         final SessionDelegate sessionDelegate = versionManagerDelegate.getSessionDelegate();
         return sessionDelegate.perform(new SessionOperation<Version>() {
             @Override



Mime
View raw message