This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-io.git
commit d7a027c32cdfa2b8724225eec7d4014c2052156e Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Sat Apr 22 08:47:16 2023 -0400 Reuse Duration.ZERO --- src/main/java/org/apache/commons/io/input/QueueInputStream.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/commons/io/input/QueueInputStream.java b/src/main/java/org/apache/commons/io/input/QueueInputStream.java index 5ad022ed..5efaeb7e 100644 --- a/src/main/java/org/apache/commons/io/input/QueueInputStream.java +++ b/src/main/java/org/apache/commons/io/input/QueueInputStream.java @@ -75,7 +75,7 @@ public class QueueInputStream extends InputStream { * @param blockingQueue backing queue for the stream */ public QueueInputStream(final BlockingQueue<Integer> blockingQueue) { - this(blockingQueue, Duration.ofMillis(0)); + this(blockingQueue, Duration.ZERO); } /**