directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1624870 - /directory/mavibot/branches/free-page-mgmt/mavibot/src/main/java/org/apache/directory/mavibot/btree/AbstractPage.java
Date Sun, 14 Sep 2014 16:47:30 GMT
Author: kayyagari
Date: Sun Sep 14 16:47:30 2014
New Revision: 1624870

URL: http://svn.apache.org/r1624870
Log:
fixed a NPE reported by findbus

Modified:
    directory/mavibot/branches/free-page-mgmt/mavibot/src/main/java/org/apache/directory/mavibot/btree/AbstractPage.java

Modified: directory/mavibot/branches/free-page-mgmt/mavibot/src/main/java/org/apache/directory/mavibot/btree/AbstractPage.java
URL: http://svn.apache.org/viewvc/directory/mavibot/branches/free-page-mgmt/mavibot/src/main/java/org/apache/directory/mavibot/btree/AbstractPage.java?rev=1624870&r1=1624869&r2=1624870&view=diff
==============================================================================
--- directory/mavibot/branches/free-page-mgmt/mavibot/src/main/java/org/apache/directory/mavibot/btree/AbstractPage.java
(original)
+++ directory/mavibot/branches/free-page-mgmt/mavibot/src/main/java/org/apache/directory/mavibot/btree/AbstractPage.java
Sun Sep 14 16:47:30 2014
@@ -140,6 +140,7 @@ import org.apache.directory.mavibot.btre
             if ( page == null )
             {
                 System.out.println( "Page is null for pos = " + pos + ", children = " + children[pos]
);
+                return false;
             }
 
             return page.hasKey( key );



Mime
View raw message