You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jo...@apache.org on 2001/08/07 20:23:43 UTC
cvs commit: jakarta-turbine-torque/src/java/org/apache/torque/pool ConnectionPool.java
jon 01/08/07 11:23:43
Modified: src/java/org/apache/torque/pool ConnectionPool.java
Log:
code formatting cleanup
Revision Changes Path
1.2 +7 -1 jakarta-turbine-torque/src/java/org/apache/torque/pool/ConnectionPool.java
Index: ConnectionPool.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/pool/ConnectionPool.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ConnectionPool.java 2001/08/02 05:08:19 1.1
+++ ConnectionPool.java 2001/08/07 18:23:43 1.2
@@ -76,7 +76,7 @@
* @author <a href="mailto:paul@evolventtech.com">Paul O'Leary</a>
* @author <a href="mailto:magnus@handtolvur.is">Magn�s ��r Torfason</a>
* @author <a href="mailto:jon@latchkey.com">Jon S. Stevens</a>
- * @version $Id: ConnectionPool.java,v 1.1 2001/08/02 05:08:19 jvanzyl Exp $
+ * @version $Id: ConnectionPool.java,v 1.2 2001/08/07 18:23:43 jon Exp $
*/
public class ConnectionPool
{
@@ -350,9 +350,13 @@
throws SQLException
{
if ( cpds != null )
+ {
return cpds.getLogWriter();
+ }
else
+ {
return null;
+ }
}
/**
@@ -373,7 +377,9 @@
throws SQLException
{
if ( cpds != null )
+ {
cpds.setLogWriter(out);
+ }
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org