commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang StringEscapeUtils.java
Date Sat, 13 Sep 2003 03:23:24 GMT
psteitz     2003/09/12 20:23:24

  Modified:    lang/src/java/org/apache/commons/lang StringEscapeUtils.java
  Log:
  Formatting changes (inserting missing {}s) in StringEscapeUtils.
  Patch submitted by Fredrik Westermarck
  Reviewed by Phil Steitz
  
  Revision  Changes    Path
  1.27      +4 -2      jakarta-commons/lang/src/java/org/apache/commons/lang/StringEscapeUtils.java
  
  Index: StringEscapeUtils.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/StringEscapeUtils.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- StringEscapeUtils.java	7 Sep 2003 14:32:34 -0000	1.26
  +++ StringEscapeUtils.java	13 Sep 2003 03:23:24 -0000	1.27
  @@ -242,7 +242,9 @@
               } else {
                   switch (ch) {
                       case '\'':
  -                        if (escapeSingleQuote) out.write('\\');
  +                        if (escapeSingleQuote) {
  +                          out.write('\\');
  +                        }
                           out.write('\'');
                           break;
                       case '"':
  
  
  

Mime
View raw message