jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r178159 - in /incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core: RepositoryImpl.java query/lucene/MultiIndex.java
Date Tue, 24 May 2005 12:32:15 GMT
Author: stefan
Date: Tue May 24 05:32:14 2005
New Revision: 178159

URL: http://svn.apache.org/viewcvs?rev=178159&view=rev
Log:
- fixed bug JCR-125: Repository holds onto Session instance after logout
- fixed typo in log msg

Modified:
    incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/RepositoryImpl.java
    incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/lucene/MultiIndex.java

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/RepositoryImpl.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/RepositoryImpl.java?rev=178159&r1=178158&r2=178159&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/RepositoryImpl.java (original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/RepositoryImpl.java Tue
May 24 05:32:14 2005
@@ -586,6 +586,7 @@
             RepositoryException {
         WorkspaceInfo wspInfo = getWorkspaceInfo(workspaceName);
         SessionImpl ses = createSessionInstance(loginContext, wspInfo.getConfig());
+        ses.addListener(this);
         activeSessions.put(ses, ses);
         return ses;
     }
@@ -608,6 +609,7 @@
             RepositoryException {
         WorkspaceInfo wspInfo = getWorkspaceInfo(workspaceName);
         SessionImpl ses = createSessionInstance(subject, wspInfo.getConfig());
+        ses.addListener(this);
         activeSessions.put(ses, ses);
         return ses;
     }

Modified: incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/lucene/MultiIndex.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/lucene/MultiIndex.java?rev=178159&r1=178158&r2=178159&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/lucene/MultiIndex.java
(original)
+++ incubator/jackrabbit/trunk/src/java/org/apache/jackrabbit/core/query/lucene/MultiIndex.java
Tue May 24 05:32:14 2005
@@ -245,7 +245,7 @@
         multiReader = null;
         volatileIndex.addDocument(doc);
         if (volatileIndex.getRedoLog().getSize() >= mergeSize) {
-            log.info("Commiting in-memory index");
+            log.info("Committing in-memory index");
             commit();
         }
     }



Mime
View raw message