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


The following commit(s) were added to refs/heads/master by this push:
     new e5d0ac9b Deprecate NullWriter ctor to use singleton instead
e5d0ac9b is described below

commit e5d0ac9b12f8855a79099a78c30336427c528bf0
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Tue May 2 17:49:09 2023 -0400

    Deprecate NullWriter ctor to use singleton instead
---
 src/main/java/org/apache/commons/io/output/NullWriter.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/main/java/org/apache/commons/io/output/NullWriter.java 
b/src/main/java/org/apache/commons/io/output/NullWriter.java
index 1fb9e314..83d88f9d 100644
--- a/src/main/java/org/apache/commons/io/output/NullWriter.java
+++ b/src/main/java/org/apache/commons/io/output/NullWriter.java
@@ -43,7 +43,10 @@ public class NullWriter extends Writer {
 
     /**
      * Constructs a new NullWriter.
+     *
+     * @deprecated Use {@link #INSTANCE}.
      */
+    @Deprecated
     public NullWriter() {
     }
 

Reply via email to