directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1183377 - /directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/SubstringEvaluator.java
Date Fri, 14 Oct 2011 14:57:39 GMT
Author: kayyagari
Date: Fri Oct 14 14:57:38 2011
New Revision: 1183377

URL: http://svn.apache.org/viewvc?rev=1183377&view=rev
Log:
o closed open cursors

Modified:
    directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/SubstringEvaluator.java

Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/SubstringEvaluator.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/SubstringEvaluator.java?rev=1183377&r1=1183376&r2=1183377&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/SubstringEvaluator.java
(original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/xdbm/search/impl/SubstringEvaluator.java
Fri Oct 14 14:57:38 2011
@@ -203,6 +203,8 @@ public class SubstringEvaluator<ID exten
             }
         }
 
+        entries.close();
+        
         // we fell through so a match was not found - assertion was false.
         return false;
     }
@@ -237,6 +239,8 @@ public class SubstringEvaluator<ID exten
             }
         }
 
+        entries.close();
+        
         // we fell through so a match was not found - assertion was false.
         return false;
     }



Mime
View raw message