geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/test/org/apache/geronimo/test/protocol/mockproto MockInputStream.java
Date Mon, 01 Sep 2003 21:08:34 GMT
jdillon     2003/09/01 14:08:34

  Modified:    modules/core/src/test/org/apache/geronimo/test/protocol/mockproto
                        MockInputStream.java
  Log:
   o use BAOS instead of SBOS
  
  Revision  Changes    Path
  1.3       +4 -4      incubator-geronimo/modules/core/src/test/org/apache/geronimo/test/protocol/mockproto/MockInputStream.java
  
  Index: MockInputStream.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/test/org/apache/geronimo/test/protocol/mockproto/MockInputStream.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MockInputStream.java	1 Sep 2003 20:38:49 -0000	1.2
  +++ MockInputStream.java	1 Sep 2003 21:08:34 -0000	1.3
  @@ -56,7 +56,7 @@
   
   package org.apache.geronimo.test.protocol.mockproto;
   
  -import java.io.StringBufferInputStream;
  +import java.io.ByteArrayInputStream;
   import java.io.IOException;
   
   /**
  @@ -65,12 +65,12 @@
    * @version $Revision$ $Date$
    */
   public final class MockInputStream
  -    extends StringBufferInputStream
  +    extends ByteArrayInputStream
   {
       private MockURLConnection conn;
   
       public MockInputStream(MockURLConnection conn, String s) {
  -        super(s);
  +        super(s.getBytes());
           this.conn = conn;
       }
   
  
  
  

Mime
View raw message