Skip to content

Commit 9da82a8

Browse files
committed
Delegate to create method with all parameters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1468652 13f79535-47bb-0310-9956-ffa450edef68
1 parent 6f9e2bb commit 9da82a8

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/main/java/org/apache/commons/io/input/Tailer.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,7 @@ public Tailer(final File file, final TailerListener listener, final long delayMi
239239
* @return The new tailer
240240
*/
241241
public static Tailer create(final File file, final TailerListener listener, final long delayMillis, final boolean end, final int bufSize) {
242-
final Tailer tailer = new Tailer(file, listener, delayMillis, end, bufSize);
243-
final Thread thread = new Thread(tailer);
244-
thread.setDaemon(true);
245-
thread.start();
246-
return tailer;
242+
return create(file, listener, delayMillis, end, false, bufSize);
247243
}
248244

249245
/**

0 commit comments

Comments
 (0)