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/java/org/apache/cocoon/servlet CocoonServlet.java
Date Sat, 21 Sep 2002 02:28:29 GMT
vgritsenko    2002/09/20 19:28:29

  Modified:    src/java/org/apache/cocoon/servlet Tag: cocoon_2_0_3_branch
                        CocoonServlet.java
  Log:
  nitpicking
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.19.2.10 +5 -5      xml-cocoon2/src/java/org/apache/cocoon/servlet/CocoonServlet.java
  
  Index: CocoonServlet.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/servlet/CocoonServlet.java,v
  retrieving revision 1.19.2.9
  retrieving revision 1.19.2.10
  diff -u -r1.19.2.9 -r1.19.2.10
  --- CocoonServlet.java	13 Aug 2002 18:47:04 -0000	1.19.2.9
  +++ CocoonServlet.java	21 Sep 2002 02:28:29 -0000	1.19.2.10
  @@ -411,8 +411,8 @@
           }
   
           this.containerEncoding = conf.getInitParameter("container-encoding");
  -            if (containerEncoding == null) {
  -                containerEncoding = "ISO-8859-1";
  +        if (containerEncoding == null) {
  +            containerEncoding = "ISO-8859-1";
               if (log.isDebugEnabled()) {
                   log.debug("container-encoding was not set - defaulting to ISO-8859-1.");
               }
  @@ -662,9 +662,9 @@
                while (st.hasMoreTokens()) {
                    String s = st.nextToken();
                    if (i++ > 0) {
  -                     sb.append(java.io.File.pathSeparatorChar);
  +                     sb.append(File.pathSeparatorChar);
                    }
  -                 if ((s.charAt(0) == java.io.File.separatorChar) ||
  +                 if ((s.charAt(0) == File.separatorChar) ||
                        (s.charAt(1) == ':')) {
                        if (log.isDebugEnabled()) {
                            log.debug ("extraClassPath is absolute: " + s);
  
  
  

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