jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r731989 - /jackrabbit/branches/1.5/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/MultiIndex.java
Date Tue, 06 Jan 2009 16:25:30 GMT
Author: jukka
Date: Tue Jan  6 08:25:30 2009
New Revision: 731989

URL: http://svn.apache.org/viewvc?rev=731989&view=rev
Log:
1.5: Merged revision 720540 (JCR-1879)

Modified:
    jackrabbit/branches/1.5/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/MultiIndex.java

Modified: jackrabbit/branches/1.5/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/MultiIndex.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/1.5/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/MultiIndex.java?rev=731989&r1=731988&r2=731989&view=diff
==============================================================================
--- jackrabbit/branches/1.5/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/MultiIndex.java
(original)
+++ jackrabbit/branches/1.5/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/MultiIndex.java
Tue Jan  6 08:25:30 2009
@@ -767,8 +767,15 @@
                 ((PersistentIndex) indexes.get(i)).close();
             }
 
-            // finally close indexing queue
+            // close indexing queue
             indexingQueue.close();
+
+            // finally close directory
+            try {
+                indexDir.close();
+            } catch (IOException e) {
+                log.error("Exception while closing directory.", e);
+            }
         }
     }
 



Mime
View raw message