Update of /cvsroot/proxool/proxool/src/java/org/logicalcobwebs/proxool
In directory sc8-pr-cvs1:/tmp/cvs-serv1745/src/java/org/logicalcobwebs/proxool
Modified Files:
AbstractProxyStatement.java
Log Message:
checkstyle
Index: AbstractProxyStatement.java
===================================================================
RCS file: /cvsroot/proxool/proxool/src/java/org/logicalcobwebs/proxool/AbstractProxyStatement.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** AbstractProxyStatement.java 27 Oct 2003 12:21:59 -0000 1.16
--- AbstractProxyStatement.java 4 Nov 2003 13:54:02 -0000 1.17
***************
*** 173,177 ****
// Log if configured to
if (connectionPool.getLog().isDebugEnabled() && connectionPool.getDefinition().isTrace()) {
! connectionPool.getLog().debug(sqlLog.toString() + " (" + (System.currentTimeMillis() - startTime) + " milliseconds" + (exception != null ? ", threw a " + exception.getClass().getName() + ": " + exception.getMessage() + ")" : ")"));
}
// Send to any listener
--- 173,178 ----
// Log if configured to
if (connectionPool.getLog().isDebugEnabled() && connectionPool.getDefinition().isTrace()) {
! connectionPool.getLog().debug(sqlLog.toString() + " (" + (System.currentTimeMillis() - startTime) + " milliseconds"
! + (exception != null ? ", threw a " + exception.getClass().getName() + ": " + exception.getMessage() + ")" : ")"));
}
// Send to any listener
***************
*** 240,243 ****
--- 241,247 ----
Revision history:
$Log$
+ Revision 1.17 2003/11/04 13:54:02 billhorsman
+ checkstyle
+
Revision 1.16 2003/10/27 12:21:59 billhorsman
Optimisation to avoid preparing sql log if tracing is off.
|