tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject cvs commit: jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session FileStore.java
Date Tue, 19 Nov 2002 16:21:16 GMT
jfclere     2002/11/19 08:21:16

  Modified:    catalina/src/share/org/apache/catalina/session
                        FileStore.java
  Log:
  Check for the existence of the file.
  
  Revision  Changes    Path
  1.8       +8 -4      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/FileStore.java
  
  Index: FileStore.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/session/FileStore.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- FileStore.java	18 Mar 2002 18:56:21 -0000	1.7
  +++ FileStore.java	19 Nov 2002 16:21:16 -0000	1.8
  @@ -290,6 +290,10 @@
           if (file == null) {
               return (null);
           }
  +
  +        if (! file.exists()) {
  +            return (null);
  +        }
           if (debug >= 1) {
               log(sm.getString(getStoreName()+".loading",
                                id, file.getAbsolutePath()));
  
  
  

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


Mime
View raw message