You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ne...@apache.org on 2002/07/08 18:24:04 UTC

cvs commit: xml-xerces/java/src/org/apache/xerces/impl/io UCSReader.java

neilg       2002/07/08 09:24:04

  Modified:    java/src/org/apache/xerces/impl/io UCSReader.java
  Log:
  make some constants final; these should always have been final, so even were it not for static mutability concerns this would be a clear bugfix.
  
  Revision  Changes    Path
  1.3       +5 -5      xml-xerces/java/src/org/apache/xerces/impl/io/UCSReader.java
  
  Index: UCSReader.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/src/org/apache/xerces/impl/io/UCSReader.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- UCSReader.java	29 Jan 2002 01:15:13 -0000	1.2
  +++ UCSReader.java	8 Jul 2002 16:24:03 -0000	1.3
  @@ -81,10 +81,10 @@
        */
       public static final int DEFAULT_BUFFER_SIZE = 8192;
   
  -    public static short UCS2LE = 1;
  -    public static short UCS2BE = 2;
  -    public static short UCS4LE = 4;
  -    public static short UCS4BE = 8;
  +    public static final short UCS2LE = 1;
  +    public static final short UCS2BE = 2;
  +    public static final short UCS4LE = 4;
  +    public static final short UCS4BE = 8;
   
       //
       // Data
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org