db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r728907 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/xact/Xact.java
Date Tue, 23 Dec 2008 08:59:10 GMT
Author: kahatlen
Date: Tue Dec 23 00:59:10 2008
New Revision: 728907

URL: http://svn.apache.org/viewvc?rev=728907&view=rev
Log:
DERBY-3993: Use THROWASSERT instead of System.out.println to get more info
about failure in regression test.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/xact/Xact.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/xact/Xact.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/xact/Xact.java?rev=728907&r1=728906&r2=728907&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/xact/Xact.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/store/raw/xact/Xact.java Tue Dec
23 00:59:10 2008
@@ -1966,10 +1966,9 @@
         {
 			if (countObservers() != 0)
             {
-				System.out.println(
+                SanityManager.THROWASSERT(
                     "There should be 0 observers, but we still have "
 					+ countObservers() + " observers.");
-				notifyObservers(null);
             }
 		}
 	}



Mime
View raw message