You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2010/05/15 20:05:10 UTC
svn commit: r944689 -
/directory/apacheds/trunk/xdbm-base/src/main/java/org/apache/directory/server/xdbm/AbstractIndexCursor.java
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;