commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1300199 - /commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
Date Tue, 13 Mar 2012 15:44:11 GMT
Author: ggregory
Date: Tue Mar 13 15:44:11 2012
New Revision: 1300199

URL: http://svn.apache.org/viewvc?rev=1300199&view=rev
Log:
Javadoc.

Modified:
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java?rev=1300199&r1=1300198&r2=1300199&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
(original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/ReversedLinesFileReader.java
Tue Mar 13 15:44:11 2012
@@ -198,7 +198,7 @@ public class ReversedLinesFileReader imp
         }
 
         /**
-         * handle block rollover
+         * Handles block rollover
          * 
          * @return the new FilePart or null
          * @throws IOException if there was a problem reading the file
@@ -223,7 +223,8 @@ public class ReversedLinesFileReader imp
         }
 
         /**
-         * read a line.
+         * Reads a line.
+         * 
          * @return the line or null
          * @throws IOException if there is an error reading from the file
          */
@@ -282,7 +283,7 @@ public class ReversedLinesFileReader imp
         }
 
         /**
-         * create buffer containing any left over bytes.
+         * Creates the buffer containing any left over bytes.
          */
         private void createLeftOver() {
             int lineLengthBytes = currentLastBytePos + 1;
@@ -297,7 +298,8 @@ public class ReversedLinesFileReader imp
         }
 
         /**
-         * find newline sequence and return its length
+         * Finds the new-line sequence and return its length.
+         * 
          * @param data buffer to scan
          * @param i start offset in buffer
          * @return length of newline sequence or 0 if none found



Mime
View raw message