tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session StandardManager.java
Date Fri, 11 Oct 2002 06:58:20 GMT
remm        2002/10/10 23:58:20

  Modified:    catalina/src/share/org/apache/catalina/session
                        StandardManager.java
  Log:
  - Allow disabling persistence using a blank String (BZ 13513).
  
  Revision  Changes    Path
  1.2       +5 -5      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/StandardManager.java
  
  Index: StandardManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/StandardManager.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StandardManager.java	18 Jul 2002 16:47:53 -0000	1.1
  +++ StandardManager.java	11 Oct 2002 06:58:19 -0000	1.2
  @@ -721,7 +721,7 @@
        */
       private File file() {
   
  -        if (pathname == null)
  +        if ((pathname == null) || (pathname.length() == 0))
               return (null);
           File file = new File(pathname);
           if (!file.isAbsolute()) {
  
  
  

--
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