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 Sun, 25 Sep 2005 05:41:37 GMT
rana_b      2005/09/24 22:41:37

  Modified:    src/java/org/apache/ftpserver/util IoUtils.java
  Log:
  org.apache.ftpserver.util typo - applied patch - Sergey M Vladimirov
  
  Revision  Changes    Path
  1.7       +8 -8      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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- IoUtils.java	9 Sep 2005 11:21:51 -0000	1.6
  +++ IoUtils.java	25 Sep 2005 05:41:37 -0000	1.7
  @@ -64,15 +64,15 @@
       /**
        * Get <code>BufferedReader</code>.
        */
  -    public final static BufferedReader getBufferedReader(Reader rd) {
  -        BufferedReader br = null;
  -        if(br instanceof java.io.BufferedReader) {
  -            br = (BufferedReader)rd;
  -        }
  +    public final static BufferedReader getBufferedReader(Reader reader) {
  +        BufferedReader buffered = null;
  +        if (reader instanceof java.io.BufferedReader) {
  +            buffered = (BufferedReader) reader;
  +        } 
           else {
  -            br = new BufferedReader(rd);
  +            buffered = new BufferedReader(reader);
           }
  -        return br;
  +        return buffered;
       }
       
       
  
  
  

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


Mime
View raw message