tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu...@apache.org
Subject cvs commit: jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper JspC.java
Date Mon, 15 Mar 2004 18:15:05 GMT
luehe       2004/03/15 10:15:05

  Modified:    jasper2/src/share/org/apache/jasper JspC.java
  Log:
  Fix for Bugzilla 27642 ("trimSpaces property not settable via command-line options")
  
  Revision  Changes    Path
  1.67      +6 -3      jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java
  
  Index: JspC.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/JspC.java,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- JspC.java	8 Mar 2004 23:59:11 -0000	1.66
  +++ JspC.java	15 Mar 2004 18:15:05 -0000	1.67
  @@ -150,6 +150,7 @@
       private static final String SWITCH_WEBAPP_XML = "-webxml";
       private static final String SWITCH_MAPPED = "-mapped";
       private static final String SWITCH_XPOWERED_BY = "-xpoweredBy";
  +    private static final String SWITCH_TRIM_SPACES = "-trimSpaces";
       private static final String SWITCH_CLASSPATH = "-classpath";
       private static final String SWITCH_DIE = "-die";
       private static final String SHOW_SUCCESS ="-s";
  @@ -291,6 +292,8 @@
                   mappedFile = true;
               } else if (tok.equals(SWITCH_XPOWERED_BY)) {
                   xpoweredBy = true;
  +            } else if (tok.equals(SWITCH_TRIM_SPACES)) {
  +                setTrimSpaces(true);
               } else if (tok.equals(SWITCH_CLASSPATH)) {
                   setClassPath(nextArg());
               } else if (tok.startsWith(SWITCH_DIE)) {
  
  
  

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


Mime
View raw message