avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject cvs commit: jakarta-avalon-apps/ftpserver/src/java/org/apache/avalon/ftpserver FtpUser.java
Date Sun, 07 Apr 2002 17:11:21 GMT
rana_b      02/04/07 10:11:21

  Modified:    ftpserver/src/java/org/apache/avalon/ftpserver FtpUser.java
  Log:
  minor buffering modification
  
  Revision  Changes    Path
  1.11      +2 -1      jakarta-avalon-apps/ftpserver/src/java/org/apache/avalon/ftpserver/FtpUser.java
  
  Index: FtpUser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-apps/ftpserver/src/java/org/apache/avalon/ftpserver/FtpUser.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- FtpUser.java	1 Apr 2002 17:26:03 -0000	1.10
  +++ FtpUser.java	7 Apr 2002 17:11:21 -0000	1.11
  @@ -12,6 +12,7 @@
   import java.io.BufferedOutputStream;
   import java.io.Serializable;
   
  +import org.apache.avalon.ftpserver.util.IoUtils;
   import org.apache.avalon.ftpserver.util.AsciiOutputStream;
   import org.apache.avalon.ftpserver.usermanager.User;
   
  @@ -104,7 +105,7 @@
        * if the transfer type is ASCII.
        */
       public OutputStream getOutputStream(OutputStream os) {
  -        os = new BufferedOutputStream(os);
  +        os = IoUtils.getBufferedOutputStream(os);
           if(mcDataType == 'A') {
               os = new AsciiOutputStream(os);
           }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message