cvs commit: spice/sandbox/packet/src/java/org/realityforge/packet/encoder BasicEncoder.java

Peter Donald <[email protected]> Tue, 11 Nov 2003 03:18:50 -0800
Newsgroups gmane.comp.java.spice.cvs
Message-ID <[email protected]>
donaldp     03/11/11 03:18:50

  Modified:    sandbox/packet/src/java/org/realityforge/packet/encoder
                        BasicEncoder.java
  Log:
  Make sizeof non-private
  
  Revision  Changes    Path
  1.2       +2 -2      spice/sandbox/packet/src/java/org/realityforge/packet/encoder/BasicEncoder.java
  
  Index: BasicEncoder.java
  ===================================================================
  RCS file: /cvsroot/spice/spice/sandbox/packet/src/java/org/realityforge/packet/encoder/BasicEncoder.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BasicEncoder.java	11 Nov 2003 09:36:20 -0000	1.1
  +++ BasicEncoder.java	11 Nov 2003 11:18:50 -0000	1.2
  @@ -14,7 +14,7 @@
    * A basic encoder that writes packet using simple mechanisms.
    *
    * @author <a href="mailto:peter at realityforge.org">Peter Donald</a>
  - * @version $Revision: 1.1 $ $Date: 2003/11/11 09:36:20 $
  + * @version $Revision: 1.2 $ $Date: 2003/11/11 11:18:50 $
    */
   public class BasicEncoder
       implements Encoder
  @@ -22,7 +22,7 @@
       /**
        * The number of bytes in packets header.
        */
  -    private static final int SIZEOF_HEADER = 2 + 2;
  +    static final int SIZEOF_HEADER = 2 + 2;
   
       /**
        * @see Encoder#encode
  
  
  


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/