db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject svn commit: rev 53834 - incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/sort
Date Tue, 05 Oct 2004 23:43:38 GMT
Author: mikem
Date: Tue Oct  5 16:43:37 2004
New Revision: 53834

Modified:
   incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/sort/ExternalSortFactory.java
Log:
committing for klebanof@Mutagen.Net

Class org.apache.derby.impl.store.access.sort.ExternalSortFactory has a latent 
bug. Its canSupport method throws an exception if it is called with a null 
startParams argument.



Modified: incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/sort/ExternalSortFactory.java
==============================================================================
--- incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/sort/ExternalSortFactory.java
(original)
+++ incubator/derby/code/trunk/java/engine/org/apache/derby/impl/store/access/sort/ExternalSortFactory.java
Tue Oct  5 16:43:37 2004
@@ -322,6 +322,9 @@
 
 	public boolean canSupport(Properties startParams) {
 
+        if (startParams == null)
+            return false; 
+
 		String impl = startParams.getProperty("derby.access.Conglomerate.type");
 		if (impl == null)
 			return false;

Mime
View raw message