directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r374507 - in /directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server: ModifyAddTest.java ModifyRemoveTest.java PersistentSearchTest.java SearchTest.java
Date Thu, 02 Feb 2006 21:19:58 GMT
Author: akarasulu
Date: Thu Feb  2 13:19:53 2006
New Revision: 374507

URL: http://svn.apache.org/viewcvs?rev=374507&view=rev
Log:
cleaned up double close attempts on context in tests

Modified:
    directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/ModifyAddTest.java
    directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/ModifyRemoveTest.java
    directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/PersistentSearchTest.java
    directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/SearchTest.java

Modified: directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/ModifyAddTest.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/ModifyAddTest.java?rev=374507&r1=374506&r2=374507&view=diff
==============================================================================
--- directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/ModifyAddTest.java
(original)
+++ directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/ModifyAddTest.java
Thu Feb  2 13:19:53 2006
@@ -93,10 +93,7 @@
     {
         ctx.unbind(RDN);
         ctx.close();
-
-        ctx.close();
         ctx = null;
-
         super.tearDown();
     }
 

Modified: directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/ModifyRemoveTest.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/ModifyRemoveTest.java?rev=374507&r1=374506&r2=374507&view=diff
==============================================================================
--- directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/ModifyRemoveTest.java
(original)
+++ directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/ModifyRemoveTest.java
Thu Feb  2 13:19:53 2006
@@ -91,10 +91,7 @@
     {
         ctx.unbind(RDN);
         ctx.close();
-
-        ctx.close();
         ctx = null;
-
         super.tearDown();
     }
 

Modified: directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/PersistentSearchTest.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/PersistentSearchTest.java?rev=374507&r1=374506&r2=374507&view=diff
==============================================================================
--- directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/PersistentSearchTest.java
(original)
+++ directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/PersistentSearchTest.java
Thu Feb  2 13:19:53 2006
@@ -111,10 +111,7 @@
         {
             ctx.unbind( RDN );
             ctx.close();
-    
-            ctx.close();
             ctx = null;
-    
             super.tearDown();
         }
         catch( Throwable t )

Modified: directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/SearchTest.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/SearchTest.java?rev=374507&r1=374506&r2=374507&view=diff
==============================================================================
--- directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/SearchTest.java
(original)
+++ directory/trunks/apacheds/simple/unit/src/test/java/org/apache/ldap/server/SearchTest.java
Thu Feb  2 13:19:53 2006
@@ -96,10 +96,7 @@
     {
         ctx.unbind(RDN);
         ctx.close();
-
-        ctx.close();
         ctx = null;
-
         super.tearDown();
     }
 



Mime
View raw message