You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2012/03/01 15:39:31 UTC

svn commit: r1295587 - in /commons/proper/io/trunk/src: changes/changes.xml main/java/org/apache/commons/io/input/Tailer.java

Author: ggregory
Date: Thu Mar  1 14:39:30 2012
New Revision: 1295587

URL: http://svn.apache.org/viewvc?rev=1295587&view=rev
Log:
[IO-304] The second constructor of Tailer class does not pass 'delay' to the third one

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

Modified: commons/proper/io/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/changes/changes.xml?rev=1295587&r1=1295586&r2=1295587&view=diff
==============================================================================
--- commons/proper/io/trunk/src/changes/changes.xml (original)
+++ commons/proper/io/trunk/src/changes/changes.xml Thu Mar  1 14:39:30 2012
@@ -40,6 +40,9 @@ The <action> type attribute can be add,u
 
   <body>
     <release version="2.2" date="TBA">
+      <action dev="ggregory" type="add" issue="IO-304" due-to="liangly">
+        The second constructor of Tailer class does not pass 'delay' to the third one 
+      </action>        
       <action dev="ggregory" type="add" issue="IO-303" due-to="fabian.barney">
         TeeOutputStream does not call branch.close() when main.close() throws an exception 
       </action>        

Modified: commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/Tailer.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/Tailer.java?rev=1295587&r1=1295586&r2=1295587&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/Tailer.java (original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/input/Tailer.java Thu Mar  1 14:39:30 2012
@@ -147,7 +147,7 @@ public class Tailer implements Runnable 
      * @param delay the delay between checks of the file for new content in milliseconds.
      */
     public Tailer(File file, TailerListener listener, long delay) {
-        this(file, listener, 1000, false);
+        this(file, listener, delay, false);
     }
 
     /**