directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r944688 - /directory/shared/trunk/cursor/src/main/java/org/apache/directory/shared/ldap/cursor/DefaultClosureMonitor.java
Date Sat, 15 May 2010 18:02:25 GMT
Author: seelmann
Date: Sat May 15 18:02:25 2010
New Revision: 944688

URL: http://svn.apache.org/viewvc?rev=944688&view=rev
Log:
Set empty CursorClosedException, as stated in javadoc

Modified:
    directory/shared/trunk/cursor/src/main/java/org/apache/directory/shared/ldap/cursor/DefaultClosureMonitor.java

Modified: directory/shared/trunk/cursor/src/main/java/org/apache/directory/shared/ldap/cursor/DefaultClosureMonitor.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/cursor/src/main/java/org/apache/directory/shared/ldap/cursor/DefaultClosureMonitor.java?rev=944688&r1=944687&r2=944688&view=diff
==============================================================================
--- directory/shared/trunk/cursor/src/main/java/org/apache/directory/shared/ldap/cursor/DefaultClosureMonitor.java
(original)
+++ directory/shared/trunk/cursor/src/main/java/org/apache/directory/shared/ldap/cursor/DefaultClosureMonitor.java
Sat May 15 18:02:25 2010
@@ -53,7 +53,7 @@ public class DefaultClosureMonitor imple
             // not going to sync because who cares if it takes a little longer 
             // to stop but we need to set cause before toggling closed state 
             // or else check for closure can throw null cause 
-            cause = null;
+            cause = new CursorClosedException();
             closed = true;
         }
     }



Mime
View raw message