You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2001/08/02 15:24:50 UTC

cvs commit: jakarta-turbine-torque/src/java/org/apache/torque/adapter DB.java

jvanzyl     01/08/02 06:24:50

  Modified:    src/java/org/apache/torque/adapter DB.java
  Log:
  - just walking through the code
  
  Revision  Changes    Path
  1.2       +4 -5      jakarta-turbine-torque/src/java/org/apache/torque/adapter/DB.java
  
  Index: DB.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/adapter/DB.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DB.java	2001/08/02 05:08:20	1.1
  +++ DB.java	2001/08/02 13:24:50	1.2
  @@ -55,11 +55,9 @@
    */
   
   import java.io.Serializable;
  -
   import java.sql.Connection;
   import java.sql.DriverManager;
   import java.sql.SQLException;
  -
   import javax.sql.ConnectionPoolDataSource;
   
   /**
  @@ -101,7 +99,7 @@
    *
    * @author <a href="mailto:jon@latchkey.com">Jon S. Stevens</a>
    * @author <a href="mailto:bmclaugh@algx.net">Brett McLaughlin</a>
  - * @version $Id: DB.java,v 1.1 2001/08/02 05:08:20 jvanzyl Exp $
  + * @version $Id: DB.java,v 1.2 2001/08/02 13:24:50 jvanzyl Exp $
    */
   public abstract class DB implements Serializable
   {
  @@ -179,7 +177,8 @@
       public ConnectionPoolDataSource getConnectionPoolDataSource()
           throws SQLException
       {
  -        throw new SQLException("ConnectionPoolDataSource objects not supported by JDBC driver");
  +        throw new SQLException(
  +            "ConnectionPoolDataSource objects not supported by JDBC driver");
       }
   
       /**
  @@ -208,7 +207,7 @@
           else
           {
               throw new Exception("The JDBC driver must be set for the DB " +
  -                                "object with a URL of " + url);
  +                "object with a URL of " + url);
           }
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org