cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/servlet CocoonServlet.java
Date Mon, 20 Aug 2001 19:02:08 GMT
vgritsenko    01/08/20 12:02:08

  Modified:    src/org/apache/cocoon/servlet Tag: cocoon_20_branch
                        CocoonServlet.java
  Log:
  Consistent web.xml parameters (allow true/yes, ignore case)
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.13.2.20 +2 -2      xml-cocoon2/src/org/apache/cocoon/servlet/CocoonServlet.java
  
  Index: CocoonServlet.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/servlet/CocoonServlet.java,v
  retrieving revision 1.13.2.19
  retrieving revision 1.13.2.20
  diff -u -r1.13.2.19 -r1.13.2.20
  --- CocoonServlet.java	2001/08/20 18:59:34	1.13.2.19
  +++ CocoonServlet.java	2001/08/20 19:02:08	1.13.2.20
  @@ -57,7 +57,7 @@
    * @author <a href="mailto:nicolaken@supereva.it">Nicola Ken Barozzi</a> Aisa
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
    * @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
  - * @version CVS $Revision: 1.13.2.19 $ $Date: 2001/08/20 18:59:34 $
  + * @version CVS $Revision: 1.13.2.20 $ $Date: 2001/08/20 19:02:08 $
    */
   
   public class CocoonServlet extends HttpServlet {
  @@ -357,7 +357,7 @@
               this.appContext.put(Constants.CONTEXT_LOG_FILE, logName);
   
               String value = getInitParameter("log-append");
  -            boolean logAppend = (value == null || value.equals("yes") || value.equals("true"));
  +            boolean logAppend = (value == null || value.equalsIgnoreCase("yes") || value.equalsIgnoreCase("true"));
   
               final String path = logDir + logName;
               Formatter formatter;
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message