commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgra...@apache.org
Subject cvs commit: jakarta-commons-sandbox/dbutils/src/java/org/apache/commons/dbutils/driver StatementWrapper.java
Date Wed, 15 Oct 2003 02:29:10 GMT
dgraham     2003/10/14 19:29:10

  Modified:    dbutils/src/java/org/apache/commons/dbutils/driver
                        StatementWrapper.java
  Log:
  Fixed incorrect variable assignment in constructor.
  
  Revision  Changes    Path
  1.6       +12 -6     jakarta-commons-sandbox/dbutils/src/java/org/apache/commons/dbutils/driver/StatementWrapper.java
  
  Index: StatementWrapper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/dbutils/src/java/org/apache/commons/dbutils/driver/StatementWrapper.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- StatementWrapper.java	12 Oct 2003 09:37:28 -0000	1.5
  +++ StatementWrapper.java	15 Oct 2003 02:29:10 -0000	1.6
  @@ -1,9 +1,13 @@
   /*
  + * $Header$
  + * $Revision$
  + * $Date$
  + * 
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
    *
  - * Copyright (c) 1999-2003 The Apache Software Foundation.  All rights
  + * Copyright (c) 2002-2003 The Apache Software Foundation.  All rights
    * reserved.
    *
    * Redistribution and use in source and binary forms, with or without
  @@ -54,22 +58,24 @@
    * <http://www.apache.org/>.
    *
    */
  + 
   package org.apache.commons.dbutils.driver;
   
  -import java.sql.Statement;
  +import java.sql.Connection;
   import java.sql.ResultSet;
   import java.sql.SQLException;
   import java.sql.SQLWarning;
  -import java.sql.Connection;
  +import java.sql.Statement;
   
  -public class StatementWrapper implements Statement 
  -{
  +public class StatementWrapper implements Statement {
  +    
       private Statement statement;
  +    
       private Connection connection;
   
       public StatementWrapper(Statement statement, Connection conn) {
           this.statement = statement;
  -        this.connection = connection;
  +        this.connection = conn;
       }
       
       public ResultSet executeQuery(String sql) throws SQLException {
  
  
  

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


Mime
View raw message