This is an automated email from the ASF dual-hosted git repository.
bodewig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git
The following commit(s) were added to refs/heads/master by this push:
new bd3e696 we don't want multiple instances of NullOutputStream
bd3e696 is described below
commit bd3e69685c5dd83f94c0ee4307d4ad3905089500
Author: Stefan Bodewig <[email protected]>
AuthorDate: Mon Mar 22 08:22:36 2021 +0100
we don't want multiple instances of NullOutputStream
---
src/main/org/apache/tools/ant/util/NullOutputStream.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/main/org/apache/tools/ant/util/NullOutputStream.java
b/src/main/org/apache/tools/ant/util/NullOutputStream.java
index 689ac49..c8e9898 100644
--- a/src/main/org/apache/tools/ant/util/NullOutputStream.java
+++ b/src/main/org/apache/tools/ant/util/NullOutputStream.java
@@ -33,6 +33,8 @@ public class NullOutputStream extends OutputStream {
*/
public static NullOutputStream INSTANCE = new NullOutputStream();
+ private NullOutputStream() { }
+
/**
* Doesn't do anything.
*/