jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r783324 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/LockManagerImpl.java
Date Wed, 10 Jun 2009 12:44:45 GMT
Author: angela
Date: Wed Jun 10 12:44:45 2009
New Revision: 783324

URL: http://svn.apache.org/viewvc?rev=783324&view=rev
Log:
JCR-1104: JSR 283 support

- remove redundant casts now that 283 api is present

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

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/LockManagerImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/LockManagerImpl.java?rev=783324&r1=783323&r2=783324&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/LockManagerImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/LockManagerImpl.java
Wed Jun 10 12:44:45 2009
@@ -275,7 +275,7 @@
     }
 
     static SessionLockManager getSessionLockManager(SessionImpl session) throws RepositoryException
{
-        Workspace wsp = (Workspace) session.getWorkspace();
+        Workspace wsp = session.getWorkspace();
         return (SessionLockManager) wsp.getLockManager();
     }
 



Mime
View raw message