You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2012/04/05 15:07:59 UTC

svn commit: r1309836 - /directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/cursor/ListCursorTest.java

Author: elecharny
Date: Thu Apr  5 13:07:59 2012
New Revision: 1309836

URL: http://svn.apache.org/viewvc?rev=1309836&view=rev
Log:
Removed a useless call to cursor.close()

Modified:
    directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/cursor/ListCursorTest.java

Modified: directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/cursor/ListCursorTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/cursor/ListCursorTest.java?rev=1309836&r1=1309835&r2=1309836&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/cursor/ListCursorTest.java (original)
+++ directory/shared/trunk/ldap/model/src/test/java/org/apache/directory/shared/ldap/model/cursor/ListCursorTest.java Thu Apr  5 13:07:59 2012
@@ -59,7 +59,6 @@ public class ListCursorTest
     public void testSingleElementList() throws Exception
     {
         ListCursor<String> cursor = new ListCursor<String>( Collections.singletonList( "singleton" ) );
-        cursor.close();
 
         // close test
         cursor.close();