Hi,
What am I missing here?
In JDBCAccessValve, the method getCurrentTimeMillis is defined as
public long getCurrentTimeMillis() {
long systime = System.currentTimeMillis();
if ((systime - currentTimeMillis) > 1000) {
currentTimeMillis = new java.util.Date(systime).getTime();
}
return currentTimeMillis;
}
I can figure out that this method artificially dials down the resolution of the
recorded time, but to what end? Why not just use System.currentTimeMillis()
directly?
Any edification is appreciated.
-- Chan
Channing Benson
SpringSource, a division of VMware
[email protected]
W: 610-328-3691
Mobile: 610-909-7349
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]