[PATCH] Added Singleton Constants in several stream classes
-----------------------------------------------------------

                 Key: IO-143
                 URL: https://issues.apache.org/jira/browse/IO-143
             Project: Commons IO
          Issue Type: Improvement
          Components: Streams/Writers
    Affects Versions: 1.4, AFTER-1.4
         Environment: jvm compliant os
            Reporter: Nikunj Trivedi
             Fix For: 1.4, AFTER-1.4


I have added singleton constants in following four classes which should have 
been singleton.

ClosedInputStream
ClosedOutputStream
NullOutputStream
NullWriter

We may also make it a singleton by keeping constructor private, if required.

Please comment/commit.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to