You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2010/01/21 19:28:38 UTC
svn commit: r901818 -
/commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/TestConnectionPool.java
Author: sebb
Date: Thu Jan 21 18:28:38 2010
New Revision: 901818
URL: http://svn.apache.org/viewvc?rev=901818&view=rev
Log:
Drop use of nanoTime() now that testing is complete
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=901818&r1=901817&r2=901818&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 Thu Jan 21 18:28:38 2010
@@ -789,7 +789,7 @@
+ ". Loops: " + pt.loops
+ ". State: " + pt.state
+ ". thrown: "+ pt.thrown
- + ". (using nanoTime)"
+ + "."
);
}
}
@@ -909,6 +909,6 @@
}
long timeStamp() {
- return System.nanoTime() / 1000000;
+ return System.currentTimeMillis();// JVM 1.5+ System.nanoTime() / 1000000;
}
}