jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r239587 - in /incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core: SessionImpl.java WorkspaceImpl.java
Date Wed, 24 Aug 2005 09:32:02 GMT
Author: mreutegg
Date: Wed Aug 24 02:31:59 2005
New Revision: 239587

URL: http://svn.apache.org/viewcvs?rev=239587&view=rev
Log:
- Allow for subclassing of WorkspaceImpl

Modified:
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/SessionImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/WorkspaceImpl.java

Modified: incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/SessionImpl.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/SessionImpl.java?rev=239587&r1=239586&r2=239587&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/SessionImpl.java (original)
+++ incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/SessionImpl.java Wed
Aug 24 02:31:59 2005
@@ -270,7 +270,7 @@
                                                     SharedItemStateManager stateMgr,
                                                     RepositoryImpl rep,
                                                     SessionImpl session) {
-        return new WorkspaceImpl(wspConfig, stateMgr, rep, this);
+        return new WorkspaceImpl(wspConfig, stateMgr, rep, session);
     }
 
     /**

Modified: incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/WorkspaceImpl.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/WorkspaceImpl.java?rev=239587&r1=239586&r2=239587&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/WorkspaceImpl.java
(original)
+++ incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/WorkspaceImpl.java
Wed Aug 24 02:31:59 2005
@@ -116,14 +116,14 @@
     protected LockManager lockMgr;
 
     /**
-     * Package private constructor.
+     * Protected constructor.
      *
-     * @param wspConfig
-     * @param stateMgr
-     * @param rep
-     * @param session
+     * @param wspConfig The workspace configuration
+     * @param stateMgr  The shared item state manager
+     * @param rep       The repository
+     * @param session   The session
      */
-    WorkspaceImpl(WorkspaceConfig wspConfig,
+    protected WorkspaceImpl(WorkspaceConfig wspConfig,
                   SharedItemStateManager stateMgr,
                   RepositoryImpl rep,
                   SessionImpl session) {



Mime
View raw message