directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r944689 - /directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/AbstractIndexCursor.java
Date Sat, 15 May 2010 18:05:10 GMT
Author: seelmann
Date: Sat May 15 18:05:09 2010
New Revision: 944689

URL: http://svn.apache.org/viewvc?rev=944689&view=rev
Log:
Throw IllegalArgumentException instead of NPE.

Modified:
    directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/AbstractIndexCursor.java

Modified: directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/AbstractIndexCursor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/AbstractIndexCursor.java?rev=944689&r1=944688&r2=944689&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/AbstractIndexCursor.java
(original)
+++ directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/AbstractIndexCursor.java
Sat May 15 18:05:09 2010
@@ -42,7 +42,7 @@ public abstract class AbstractIndexCurso
     {
         if ( monitor == null )
         {
-            throw new NullPointerException( "monitor" );
+            throw new IllegalArgumentException( "monitor" );
         }
 
         this.monitor = monitor;



Mime
View raw message