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/sandbox/messaging/src/java/org/apache/geronimo/messaging/admin/deployment ManagedServer.java
Date Tue, 01 Jun 2004 12:41:33 GMT
gdamour     2004/06/01 05:41:33

  Modified:    sandbox/messaging/src/java/org/apache/geronimo/messaging/admin/deployment
                        ManagedServer.java
  Log:
  Bug in the NOOP ConfigurationBuilder. The InputStream was not
  copied correctly.
  
  Revision  Changes    Path
  1.3       +2 -2      incubator-geronimo/sandbox/messaging/src/java/org/apache/geronimo/messaging/admin/deployment/ManagedServer.java
  
  Index: ManagedServer.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/sandbox/messaging/src/java/org/apache/geronimo/messaging/admin/deployment/ManagedServer.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ManagedServer.java	27 May 2004 15:46:54 -0000	1.2
  +++ ManagedServer.java	1 Jun 2004 12:41:33 -0000	1.3
  @@ -233,7 +233,7 @@
                   byte[] buffer = new byte[1024];
                   int nbRead;
                   while ( -1 != (nbRead = module.read(buffer)) ) {
  -                    bufOut.write(buffer);
  +                    bufOut.write(buffer, 0, nbRead);
                   }
                   bufOut.flush();
               } finally {
  
  
  

Mime
View raw message