directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1309839 - /directory/apacheds/branches/index-work/core-avl/src/test/java/org/apache/directory/server/core/avltree/ArrayTreeCursorTest.java
Date Thu, 05 Apr 2012 13:13:29 GMT
Author: elecharny
Date: Thu Apr  5 13:13:29 2012
New Revision: 1309839

URL: http://svn.apache.org/viewvc?rev=1309839&view=rev
Log:
Added some cursor.close() calls

Modified:
    directory/apacheds/branches/index-work/core-avl/src/test/java/org/apache/directory/server/core/avltree/ArrayTreeCursorTest.java

Modified: directory/apacheds/branches/index-work/core-avl/src/test/java/org/apache/directory/server/core/avltree/ArrayTreeCursorTest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/index-work/core-avl/src/test/java/org/apache/directory/server/core/avltree/ArrayTreeCursorTest.java?rev=1309839&r1=1309838&r2=1309839&view=diff
==============================================================================
--- directory/apacheds/branches/index-work/core-avl/src/test/java/org/apache/directory/server/core/avltree/ArrayTreeCursorTest.java
(original)
+++ directory/apacheds/branches/index-work/core-avl/src/test/java/org/apache/directory/server/core/avltree/ArrayTreeCursorTest.java
Thu Apr  5 13:13:29 2012
@@ -185,6 +185,8 @@ public class ArrayTreeCursorTest
         assertTrue( cursor.previous() );
         assertTrue( cursor.available() );
         assertEquals( 7, ( int ) cursor.get() );
+        
+        cursor.close();
     }
 
 
@@ -383,6 +385,8 @@ public class ArrayTreeCursorTest
         cursor.before( 2 );
         assertFalse( cursor.previous() );
         assertFalse( cursor.available() );
+        
+        cursor.close();
     }
 
     class IntegerComparator implements Comparator<Integer>



Mime
View raw message