db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r475779 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/StorageFactoryService.java
Date Thu, 16 Nov 2006 15:46:53 GMT
Author: djd
Date: Thu Nov 16 07:46:52 2006
New Revision: 475779

URL: http://svn.apache.org/viewvc?view=rev&rev=475779
Log:
DERBY-927 (partial) StorageFactoryService needs to allow for the return for StorageFile.list()
being null as documented in the api.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/StorageFactoryService.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/StorageFactoryService.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/StorageFactoryService.java?view=diff&rev=475779&r1=475778&r2=475779
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/StorageFactoryService.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/StorageFactoryService.java
Thu Nov 16 07:46:52 2006
@@ -849,6 +849,9 @@
 
         public boolean hasMoreElements()
         {
+            if (contents == null)
+                return false;
+            
             if (validIndex)
                 return true;
 



Mime
View raw message