axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: xml-axis/java/test/encoding EncodingTest.java
Date Fri, 15 Aug 2003 23:14:27 GMT
stevel      2003/08/15 16:14:27

  Modified:    java/test/encoding EncodingTest.java
  Log:
  bug#22352 followon; alternate way to get a char to a string that works in Java1.3
  
  Revision  Changes    Path
  1.3       +1 -1      xml-axis/java/test/encoding/EncodingTest.java
  
  Index: EncodingTest.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/test/encoding/EncodingTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EncodingTest.java	15 Aug 2003 18:12:54 -0000	1.2
  +++ EncodingTest.java	15 Aug 2003 23:14:27 -0000	1.3
  @@ -35,7 +35,7 @@
               //ignore legit whitespace
               if ("\t\n\r".indexOf(c) == 1) {
                   //verify the others are caught
  -                String s=Character.toString(c);
  +                String s=(new Character(c)).toString();
                   assertInvalidStringsDetected(s);
               }
           }
  
  
  

Mime
View raw message