commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r898842 - /commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/TestConnectionPool.java
Date Wed, 13 Jan 2010 17:11:45 GMT
Author: sebb
Date: Wed Jan 13 17:11:44 2010
New Revision: 898842

URL: http://svn.apache.org/viewvc?rev=898842&view=rev
Log:
Oops - checking wrong variable (does not invalidate output, just leaves it messy!)

Modified:
    commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/TestConnectionPool.java

Modified: commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/TestConnectionPool.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/TestConnectionPool.java?rev=898842&r1=898841&r2=898842&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/TestConnectionPool.java (original)
+++ commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/TestConnectionPool.java Wed
Jan 13 17:11:44 2010
@@ -775,7 +775,7 @@
                             PoolTest pt = pts[i];
                             System.out.println(
                                     "Pre: " + (pt.preconnected-offset) // First, so can sort
on this easily
-                                    + ". Post: " + (pt.connected != 0 ? Long.toString(pt.postconnected-offset):
"-")
+                                    + ". Post: " + (pt.postconnected != 0 ? Long.toString(pt.postconnected-offset):
"-")
                                     + ". Startup: " + (pt.started-pt.created)
                                     + ". getConn(): " + (pt.connected != 0 ? Long.toString(pt.connected-pt.preconnected)
: "-")
                                     + ". Runtime: " + (pt.ended-pt.started)



Mime
View raw message