cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/chaperon/java/org/apache/cocoon/generation TextGenerator.java
Date Wed, 21 Jan 2004 06:43:54 GMT
antonio     2004/01/20 22:43:54

  Modified:    src/blocks/chaperon/java/org/apache/cocoon/generation
                        TextGenerator.java
  Log:
  Unnecesary cast type int for a char
  
  Revision  Changes    Path
  1.6       +2 -2      cocoon-2.1/src/blocks/chaperon/java/org/apache/cocoon/generation/TextGenerator.java
  
  Index: TextGenerator.java
  ===================================================================
  RCS file: /home/cvs//cocoon-2.1/src/blocks/chaperon/java/org/apache/cocoon/generation/TextGenerator.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TextGenerator.java	20 Jan 2004 15:23:57 -0000	1.5
  +++ TextGenerator.java	21 Jan 2004 06:43:54 -0000	1.6
  @@ -281,7 +281,7 @@
   
       for (int i = 0; i<sc.length; i++)
       {
  -      nv = (int)(sc[i]);
  +      nv = sc[i];
   
         if ((nv>=0) && (nv<nonXmlChars.length))
         {
  
  
  

Mime
View raw message