db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: jakarta-turbine-torque/src/java/org/apache/torque/dsfactory AbstractDataSourceFactory.java Jdbc2PoolDataSourceFactory.java TorqueDataSourceFactory.java
Date Fri, 10 Jan 2003 10:19:44 GMT
mpoeschl    2003/01/10 02:19:44

  Modified:    src/java/org/apache/torque/dsfactory
                        AbstractDataSourceFactory.java
                        Jdbc2PoolDataSourceFactory.java
                        TorqueDataSourceFactory.java
  Log:
  o remove unused imports
  
  Revision  Changes    Path
  1.9       +9 -9      jakarta-turbine-torque/src/java/org/apache/torque/dsfactory/AbstractDataSourceFactory.java
  
  Index: AbstractDataSourceFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/dsfactory/AbstractDataSourceFactory.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- AbstractDataSourceFactory.java	9 Jan 2003 17:46:19 -0000	1.8
  +++ AbstractDataSourceFactory.java	10 Jan 2003 10:19:44 -0000	1.9
  @@ -91,9 +91,9 @@
           Logger.getLogger(AbstractDataSourceFactory.class);
   
       /**
  -     * Encapsulates setting configuration properties on 
  +     * Encapsulates setting configuration properties on
        * <code>DataSource</code> objects.
  -     * 
  +     *
        * @param property the property to read from the configuration
        * @param c the configuration to read the property from
        * @param ds the <code>DataSource</code> instance to write the property
to
  @@ -127,11 +127,11 @@
   
                       if (logger.isDebugEnabled())
                       {
  -                        logger.debug("setMappedProperty(" 
  +                        logger.debug("setMappedProperty("
                                          + ds + ", "
                                          + property + ", "
                                          + subProp + ", "
  -                                       + value 
  +                                       + value
                                          + ")");
                       }
                   }
  @@ -146,10 +146,10 @@
   
                   if (logger.isDebugEnabled())
                   {
  -                    logger.debug("setSimpleProperty(" 
  +                    logger.debug("setSimpleProperty("
                                      + ds + ", "
                                      + property + ", "
  -                                   + value 
  +                                   + value
                                      + ")");
                   }
               }
  @@ -180,8 +180,8 @@
           throws TorqueException
       {
           logger.debug("applyConfiguration(" + c + ", " + o + ")");
  -        
  -        if(c != null)
  +
  +        if (c != null)
           {
               try
               {
  
  
  
  1.8       +1 -3      jakarta-turbine-torque/src/java/org/apache/torque/dsfactory/Jdbc2PoolDataSourceFactory.java
  
  Index: Jdbc2PoolDataSourceFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/dsfactory/Jdbc2PoolDataSourceFactory.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Jdbc2PoolDataSourceFactory.java	9 Jan 2003 17:46:20 -0000	1.7
  +++ Jdbc2PoolDataSourceFactory.java	10 Jan 2003 10:19:44 -0000	1.8
  @@ -54,8 +54,6 @@
    * <http://www.apache.org/>.
    */
   
  -import java.util.Iterator;
  -
   import javax.sql.ConnectionPoolDataSource;
   import javax.sql.DataSource;
   
  
  
  
  1.10      +1 -3      jakarta-turbine-torque/src/java/org/apache/torque/dsfactory/TorqueDataSourceFactory.java
  
  Index: TorqueDataSourceFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-torque/src/java/org/apache/torque/dsfactory/TorqueDataSourceFactory.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- TorqueDataSourceFactory.java	9 Jan 2003 17:46:20 -0000	1.9
  +++ TorqueDataSourceFactory.java	10 Jan 2003 10:19:44 -0000	1.10
  @@ -54,8 +54,6 @@
    * <http://www.apache.org/>.
    */
   
  -import java.util.Iterator;
  -
   import javax.sql.ConnectionPoolDataSource;
   import javax.sql.DataSource;
   
  
  
  

Mime
View raw message