jackrabbit-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=783333&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/XAEnvironment.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/XAEnvironment.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/XAEnvironment.java?rev=783333&r1=783332&r2=783333&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/XAEnvironment.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/lock/XAEnvironment.java
Wed Jun 10 12:48:43 2009
@@ -322,7 +322,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