geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdam...@apache.org
Subject cvs commit: incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/protocol/util IntegerKeyUpPacket.java LongKeyUpPacket.java LongKeyDownPacket.java IntegerKeyDownPacket.java
Date Tue, 20 Apr 2004 12:16:54 GMT
gdamour     2004/04/20 05:16:54

  Modified:    modules/network/src/java/org/apache/geronimo/network/protocol/util
                        IntegerKeyUpPacket.java LongKeyUpPacket.java
                        LongKeyDownPacket.java IntegerKeyDownPacket.java
  Log:
  Fix some typos.
  
  Revision  Changes    Path
  1.3       +2 -2      incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/protocol/util/IntegerKeyUpPacket.java
  
  Index: IntegerKeyUpPacket.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/protocol/util/IntegerKeyUpPacket.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- IntegerKeyUpPacket.java	10 Mar 2004 09:59:15 -0000	1.2
  +++ IntegerKeyUpPacket.java	20 Apr 2004 12:16:54 -0000	1.3
  @@ -27,7 +27,7 @@
   
       final int key;
   
  -    public IntegerKeyUpPacket(short key) {
  +    public IntegerKeyUpPacket(int key) {
           this.key = key;
       }
   }
  
  
  
  1.3       +2 -2      incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/protocol/util/LongKeyUpPacket.java
  
  Index: LongKeyUpPacket.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/protocol/util/LongKeyUpPacket.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LongKeyUpPacket.java	10 Mar 2004 09:59:15 -0000	1.2
  +++ LongKeyUpPacket.java	20 Apr 2004 12:16:54 -0000	1.3
  @@ -27,7 +27,7 @@
   
       final long key;
   
  -    public LongKeyUpPacket(short key) {
  +    public LongKeyUpPacket(long key) {
           this.key = key;
       }
   }
  
  
  
  1.3       +3 -3      incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/protocol/util/LongKeyDownPacket.java
  
  Index: LongKeyDownPacket.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/protocol/util/LongKeyDownPacket.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LongKeyDownPacket.java	10 Mar 2004 09:59:15 -0000	1.2
  +++ LongKeyDownPacket.java	20 Apr 2004 12:16:54 -0000	1.3
  @@ -31,14 +31,14 @@
   
       final long key;
   
  -    public LongKeyDownPacket(short key) {
  +    public LongKeyDownPacket(long key) {
           this.key = key;
       }
   
       public final Collection getBuffers() {
           ArrayList buffers = new ArrayList();
   
  -        buffers.add(ByteBuffer.allocate(2).putLong(key).flip());
  +        buffers.add(ByteBuffer.allocate(8).putLong(key).flip());
   
           return buffers;
       }
  
  
  
  1.3       +3 -3      incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/protocol/util/IntegerKeyDownPacket.java
  
  Index: IntegerKeyDownPacket.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/network/src/java/org/apache/geronimo/network/protocol/util/IntegerKeyDownPacket.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- IntegerKeyDownPacket.java	10 Mar 2004 09:59:15 -0000	1.2
  +++ IntegerKeyDownPacket.java	20 Apr 2004 12:16:54 -0000	1.3
  @@ -31,14 +31,14 @@
   
       final int key;
   
  -    public IntegerKeyDownPacket(short key) {
  +    public IntegerKeyDownPacket(int key) {
           this.key = key;
       }
   
       public final Collection getBuffers() {
           ArrayList buffers = new ArrayList();
   
  -        buffers.add(ByteBuffer.allocate(2).putInt(key).flip());
  +        buffers.add(ByteBuffer.allocate(4).putInt(key).flip());
   
           return buffers;
       }
  
  
  

Mime
View raw message