jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r649073 - /jackrabbit/sandbox/spi/spi-logger/src/main/java/org/apache/jackrabbit/spi/logger/RepositoryServiceLogger.java
Date Thu, 17 Apr 2008 12:49:40 GMT
Author: reschke
Date: Thu Apr 17 05:49:36 2008
New Revision: 649073

URL: http://svn.apache.org/viewvc?rev=649073&view=rev
Log:
JCR-1513: support SPI change in logger.

Modified:
    jackrabbit/sandbox/spi/spi-logger/src/main/java/org/apache/jackrabbit/spi/logger/RepositoryServiceLogger.java

Modified: jackrabbit/sandbox/spi/spi-logger/src/main/java/org/apache/jackrabbit/spi/logger/RepositoryServiceLogger.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/spi/spi-logger/src/main/java/org/apache/jackrabbit/spi/logger/RepositoryServiceLogger.java?rev=649073&r1=649072&r2=649073&view=diff
==============================================================================
--- jackrabbit/sandbox/spi/spi-logger/src/main/java/org/apache/jackrabbit/spi/logger/RepositoryServiceLogger.java
(original)
+++ jackrabbit/sandbox/spi/spi-logger/src/main/java/org/apache/jackrabbit/spi/logger/RepositoryServiceLogger.java
Thu Apr 17 05:49:36 2008
@@ -380,9 +380,9 @@
         }, "unlock(SessionInfo,NodeId)", new Object[]{nodeId});
     }
 
-    public void checkin(final SessionInfo sessionInfo, final NodeId nodeId)
+    public NodeId checkin(final SessionInfo sessionInfo, final NodeId nodeId)
             throws VersionException, UnsupportedRepositoryOperationException, InvalidItemStateException,
LockException, RepositoryException {
-        execute(new Callable() {
+        return (NodeId) execute(new Callable() {
             public Object call() throws RepositoryException {
                 service.checkin(sessionInfo, nodeId);
                 return null;



Mime
View raw message