On 2021-03-21, Jaikiran Pai wrote: > On 20/03/21 11:31 pm, bode...@apache.org wrote:
> + */ > + public class NullOutputStream extends OutputStream { > + /** > + * Shared instance which is safe to use concurrently as the stream > + * doesn't hold any state at all. > + */ > + public static NullOutputStream INSTANCE = new NullOutputStream(); > Should we consider adding a private constructor to prevent anyone from > directly instantiating this class? fine with me. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org