db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject svn commit: r544946 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/services/monitor/StorageFactoryService.java
Date Wed, 06 Jun 2007 20:48:32 GMT
Author: mikem
Date: Wed Jun  6 13:48:31 2007
New Revision: 544946

URL: http://svn.apache.org/viewvc?view=rev&rev=544946
Log:
Add more to the message associated with an ASSERT to help debug DERBY-2755.


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=544946&r1=544945&r2=544946
==============================================================================
--- 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
Wed Jun  6 13:48:31 2007
@@ -736,7 +736,14 @@
                         try
                         {
                             if (SanityManager.DEBUG)
-                                SanityManager.ASSERT(serviceName.equals( storageFactory.getCanonicalName()),
serviceName);
+                            {
+                                SanityManager.ASSERT(
+                                    serviceName.equals(
+                                        storageFactory.getCanonicalName()), 
+                                    "serviceName = " + serviceName +
+                                    ";storageFactory.getCanonicalName() = " + 
+                                    storageFactory.getCanonicalName());
+                            }
                             StorageFile serviceDirectory = storageFactory.newStorageFile(
null);
                             return serviceDirectory.deleteAll() ? this : null;
                         }



Mime
View raw message