You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by cr...@apache.org on 2001/01/11 01:03:39 UTC

cvs commit: jakarta-struts/src/share/org/apache/struts/util GenericConnection.java

craigmcc    01/01/10 16:03:39

  Modified:    .        build.xml
               src/share/org/apache/struts/util GenericConnection.java
  Log:
  Tweak the class path sent to JavaDoc so that it can see the servlet.jar
  classes.  Also, move a variable declaration to avoid JavaDoc warnings
  about an @exception clause on a variable declaration.
  
  Revision  Changes    Path
  1.31      +1 -0      jakarta-struts/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/build.xml,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- build.xml	2001/01/10 23:45:06	1.30
  +++ build.xml	2001/01/11 00:03:37	1.31
  @@ -249,6 +249,7 @@
       <mkdir    dir="${build.home}/documentation/api"/>
       <javadoc sourcepath="src/share"
                   destdir="${build.home}/documentation/api"
  +              classpath="${servlet.jar}:${java.class.path}"
              packagenames="org.apache.struts.*"
   	         author="true"
                   private="true"
  
  
  
  1.5       +10 -6     jakarta-struts/src/share/org/apache/struts/util/GenericConnection.java
  
  Index: GenericConnection.java
  ===================================================================
  RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/util/GenericConnection.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- GenericConnection.java	2001/01/08 23:53:11	1.4
  +++ GenericConnection.java	2001/01/11 00:03:38	1.5
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/util/GenericConnection.java,v 1.4 2001/01/08 23:53:11 husted Exp $
  - * $Revision: 1.4 $
  - * $Date: 2001/01/08 23:53:11 $
  + * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/util/GenericConnection.java,v 1.5 2001/01/11 00:03:38 craigmcc Exp $
  + * $Revision: 1.5 $
  + * $Date: 2001/01/11 00:03:38 $
    *
    * ====================================================================
    *
  @@ -82,7 +82,7 @@
    *
    * @author Craig R. McClanahan
    * @author Ted Husted
  - * @version $Revision: 1.4 $ $Date: 2001/01/08 23:53:11 $
  + * @version $Revision: 1.5 $ $Date: 2001/01/11 00:03:38 $
   
    */
   
  @@ -151,6 +151,12 @@
   
   
       /**
  +     * The closed flag for this wrapped connection.
  +     */
  +    private boolean closed = false;
  +
  +
  +    /**
        * The Connection that is being wrapped.
        */
       protected Connection conn = null;
  @@ -406,8 +412,6 @@
        * @exception SQLException if a database access error occurs
        */
   
  -
  -    private boolean closed = false;
   
       public boolean isClosed() throws SQLException {