jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r582826 - /jackrabbit/trunk/contrib/spi/spi-logger/src/main/java/org/apache/jackrabbit/spi/logger/RepositoryServiceLogger.java
Date Mon, 08 Oct 2007 13:41:12 GMT
Author: angela
Date: Mon Oct  8 06:41:10 2007
New Revision: 582826

URL: http://svn.apache.org/viewvc?rev=582826&view=rev
Log:
JCR-1159 SPI: improve description of locking methods on RepositoryService

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

Modified: jackrabbit/trunk/contrib/spi/spi-logger/src/main/java/org/apache/jackrabbit/spi/logger/RepositoryServiceLogger.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/spi/spi-logger/src/main/java/org/apache/jackrabbit/spi/logger/RepositoryServiceLogger.java?rev=582826&r1=582825&r2=582826&view=diff
==============================================================================
--- jackrabbit/trunk/contrib/spi/spi-logger/src/main/java/org/apache/jackrabbit/spi/logger/RepositoryServiceLogger.java
(original)
+++ jackrabbit/trunk/contrib/spi/spi-logger/src/main/java/org/apache/jackrabbit/spi/logger/RepositoryServiceLogger.java
Mon Oct  8 06:41:10 2007
@@ -320,7 +320,7 @@
 
     public LockInfo getLockInfo(final SessionInfo sessionInfo,
                                 final NodeId nodeId)
-            throws LockException, RepositoryException {
+            throws RepositoryException {
         return (LockInfo) execute(new Callable() {
             public Object call() throws RepositoryException {
                 return service.getLockInfo(sessionInfo, nodeId);
@@ -332,7 +332,7 @@
                          final NodeId nodeId,
                          final boolean b,
                          final boolean b1)
-            throws UnsupportedRepositoryOperationException, LockException, AccessDeniedException,
InvalidItemStateException, RepositoryException {
+            throws UnsupportedRepositoryOperationException, LockException, AccessDeniedException,
RepositoryException {
         return (LockInfo) execute(new Callable() {
             public Object call() throws RepositoryException {
                 return service.lock(sessionInfo, nodeId, b, b1);
@@ -342,7 +342,7 @@
     }
 
     public void refreshLock(final SessionInfo sessionInfo, final NodeId nodeId)
-            throws LockException, RepositoryException {
+            throws UnsupportedRepositoryOperationException, LockException, AccessDeniedException,
RepositoryException {
         execute(new Callable() {
             public Object call() throws RepositoryException {
                 service.refreshLock(sessionInfo, nodeId);
@@ -352,7 +352,7 @@
     }
 
     public void unlock(final SessionInfo sessionInfo, final NodeId nodeId)
-            throws UnsupportedRepositoryOperationException, LockException, AccessDeniedException,
InvalidItemStateException, RepositoryException {
+            throws UnsupportedRepositoryOperationException, LockException, AccessDeniedException,
RepositoryException {
         execute(new Callable() {
             public Object call() throws RepositoryException {
                 service.unlock(sessionInfo, nodeId);



Mime
View raw message