commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject cvs commit: jakarta-commons-sandbox/lang/src/java/org/apache/commons/lang Strings.java
Date Mon, 15 Apr 2002 21:55:02 GMT
bayard      02/04/15 14:55:02

  Modified:    lang/src/java/org/apache/commons/lang Strings.java
  Log:
  Bug submitted by Jim Lerner. Non alphabetical text was being replaced by
  the previous alphabetical character and not left alone.
  
  Revision  Changes    Path
  1.2       +4 -2      jakarta-commons-sandbox/lang/src/java/org/apache/commons/lang/Strings.java
  
  Index: Strings.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/lang/src/java/org/apache/commons/lang/Strings.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Strings.java	22 Feb 2002 05:57:15 -0000	1.1
  +++ Strings.java	15 Apr 2002 21:55:02 -0000	1.2
  @@ -85,7 +85,7 @@
    * @author <a href="mailto:gcoladonato@yahoo.com">Greg Coladonato</a>
    * @author <a href="mailto:bayard@generationjava.com">Bayard</a>
    * @author <a href="mailto:ed@apache.org">Ed Korthof</a>
  - * @version $Id: Strings.java,v 1.1 2002/02/22 05:57:15 bayard Exp $
  + * @version $Id: Strings.java,v 1.2 2002/04/15 21:55:02 bayard Exp $
    */
   public class Strings
   {
  @@ -1086,7 +1086,9 @@
                   } else {
                       tmp = Character.toUpperCase(ch);
                   }
  -            } 
  +            } else {
  +                tmp = ch;
  +            }
               buffer.append(tmp);
               whitespace = Character.isWhitespace(ch);
           }
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message