commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1003696 - /commons/proper/io/trunk/src/java/org/apache/commons/io/input/Tailer.java
Date Fri, 01 Oct 2010 22:38:10 GMT
Author: sebb
Date: Fri Oct  1 22:38:09 2010
New Revision: 1003696

URL: http://svn.apache.org/viewvc?rev=1003696&view=rev
Log:
Cannot be null

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

Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/input/Tailer.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/input/Tailer.java?rev=1003696&r1=1003695&r2=1003696&view=diff
==============================================================================
--- commons/proper/io/trunk/src/java/org/apache/commons/io/input/Tailer.java (original)
+++ commons/proper/io/trunk/src/java/org/apache/commons/io/input/Tailer.java Fri Oct  1 22:38:09
2010
@@ -240,7 +240,7 @@ public class Tailer implements Runnable 
                          * this, the file position needs to be reset
                          */
                         position = 0;
-                        reader.seek(position);
+                        reader.seek(position); // cannot be null here
 
                         // Now we can read new lines
                         last = System.currentTimeMillis();



Mime
View raw message