directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1311687 - /directory/apacheds/branches/index-work/core-api/src/main/java/org/apache/directory/server/core/api/schema/SchemaPartition.java
Date Tue, 10 Apr 2012 11:54:39 GMT
Author: elecharny
Date: Tue Apr 10 11:54:39 2012
New Revision: 1311687

URL: http://svn.apache.org/viewvc?rev=1311687&view=rev
Log:
Closed a cursor in the SchemaPartition getChildCount method

Modified:
    directory/apacheds/branches/index-work/core-api/src/main/java/org/apache/directory/server/core/api/schema/SchemaPartition.java

Modified: directory/apacheds/branches/index-work/core-api/src/main/java/org/apache/directory/server/core/api/schema/SchemaPartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/index-work/core-api/src/main/java/org/apache/directory/server/core/api/schema/SchemaPartition.java?rev=1311687&r1=1311686&r2=1311687&view=diff
==============================================================================
--- directory/apacheds/branches/index-work/core-api/src/main/java/org/apache/directory/server/core/api/schema/SchemaPartition.java
(original)
+++ directory/apacheds/branches/index-work/core-api/src/main/java/org/apache/directory/server/core/api/schema/SchemaPartition.java
Tue Apr 10 11:54:39 2012
@@ -310,6 +310,8 @@ public final class SchemaPartition exten
             {
                 nbEntry++;
             }
+            
+            cursor.close();
 
             return nbEntry;
         }



Mime
View raw message