incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ran...@apache.org
Subject cvs commit: incubator-ftpserver/src/java/org/apache/ftpserver/util IoUtils.java
Date Sat, 25 Oct 2003 19:57:40 GMT
rana_b      2003/10/25 12:57:39

  Modified:    src/java/org/apache/ftpserver/util IoUtils.java
  Log:
  Fixed bug in getBufferedReader method
  
  Revision  Changes    Path
  1.2       +2 -2      incubator-ftpserver/src/java/org/apache/ftpserver/util/IoUtils.java
  
  Index: IoUtils.java
  ===================================================================
  RCS file: /home/cvs/incubator-ftpserver/src/java/org/apache/ftpserver/util/IoUtils.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- IoUtils.java	31 Mar 2003 06:50:27 -0000	1.1
  +++ IoUtils.java	25 Oct 2003 19:57:39 -0000	1.2
  @@ -108,7 +108,7 @@
       */
      public static BufferedReader getBufferedReader(Reader rd) {
           BufferedReader br = null;
  -        if(br instanceof java.io.BufferedReader) {
  +        if(rd instanceof java.io.BufferedReader) {
               br = (BufferedReader)rd;
           }
           else {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message