ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs JDBCTask.java
Date Mon, 24 Jun 2002 00:53:44 GMT
ehatcher    2002/06/23 17:53:44

  Modified:    src/main/org/apache/tools/ant/taskdefs Tag: ANT_15_BRANCH
                        JDBCTask.java
  Log:
  more docs, but also removed redundant setter
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.2   +6 -13     jakarta-ant/src/main/org/apache/tools/ant/taskdefs/JDBCTask.java
  
  Index: JDBCTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/JDBCTask.java,v
  retrieving revision 1.2.2.1
  retrieving revision 1.2.2.2
  diff -u -r1.2.2.1 -r1.2.2.2
  --- JDBCTask.java	21 Jun 2002 05:49:06 -0000	1.2.2.1
  +++ JDBCTask.java	24 Jun 2002 00:53:43 -0000	1.2.2.2
  @@ -182,7 +182,7 @@
       private String version = null;
   
       /**
  -     * Sets the classpath.
  +     * Sets the classpath for loading the driver.
        * @param classpath The classpath to set
        */
       public void setClasspath(Path classpath) {
  @@ -200,7 +200,7 @@
       }
   
       /**
  -     * Add the classpath for loading the driver; 
  +     * Add a path to the classpath for loading the driver.
        */
       public Path createClasspath() {
           if (this.classpath == null) {
  @@ -218,7 +218,7 @@
       }
   
       /**
  -     * Class name of the jdbc driver; required.
  +     * Class name of the JDBC driver; required.
        * @param driver The driver to set
        */
       public void setDriver(String driver) {
  @@ -226,7 +226,7 @@
       }
   
       /**
  -     * Sets the database connection url; required.
  +     * Sets the database connection URL; required.
        * @param url The url to set
        */
       public void setUrl(String url) {
  @@ -234,13 +234,6 @@
       }
   
       /**
  -     * Set the user name for the connection; required.
  -     */
  -    public void setUserid(String userId) {
  -        this.userId = userId;
  -    }
  -
  -    /**
        * Sets the password; required.
        * @param password The password to set
        */
  @@ -460,10 +453,10 @@
       }
   
       /**
  -     * Sets the userId.
  +     * Set the user name for the connection; required.
        * @param userId The userId to set
        */
  -    public void setUserId(String userId) {
  +    public void setUserid(String userId) {
           this.userId = userId;
       }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message