craigmcc    01/02/12 14:51:02

  Modified:    src/example/org/apache/struts/example DatabaseServlet.java
  Log:
  Let's get the corrected test right this time ...
  
  Submitted by:  Jean-Luc Schwab <[EMAIL PROTECTED]
  PR:  Bugzilla #534 (reopened)
  
  Revision  Changes    Path
  1.6       +5 -5      
jakarta-struts/src/example/org/apache/struts/example/DatabaseServlet.java
  
  Index: DatabaseServlet.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/example/org/apache/struts/example/DatabaseServlet.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DatabaseServlet.java      2001/02/02 18:27:10     1.5
  +++ DatabaseServlet.java      2001/02/12 22:51:01     1.6
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-struts/src/example/org/apache/struts/example/DatabaseServlet.java,v 
1.5 2001/02/02 18:27:10 craigmcc Exp $
  - * $Revision: 1.5 $
  - * $Date: 2001/02/02 18:27:10 $
  + * $Header: 
/home/cvs/jakarta-struts/src/example/org/apache/struts/example/DatabaseServlet.java,v 
1.6 2001/02/12 22:51:01 craigmcc Exp $
  + * $Revision: 1.6 $
  + * $Date: 2001/02/12 22:51:01 $
    *
    * ====================================================================
    *
  @@ -90,7 +90,7 @@
    * Demonstration Application.
    *
    * @author Craig R. McClanahan
  - * @version $Revision: 1.5 $ $Date: 2001/02/02 18:27:10 $
  + * @version $Revision: 1.6 $ $Date: 2001/02/12 22:51:01 $
    */
   
   public final class DatabaseServlet
  @@ -297,7 +297,7 @@
           // Calculate the file pathname to our storage file (if any)
           String pathname =
               getServletContext().getRealPath(this.pathname);
  -        if (pathname != null) {
  +        if (pathname == null) {
               log("Cannot unload database to resource path " + this.pathname);
               return;
           }
  
  
  

Reply via email to