Woden Cafe created IO-756:
-----------------------------

             Summary: Update FileWriterWithEncoding to extend ProxyWriter
                 Key: IO-756
                 URL: https://issues.apache.org/jira/browse/IO-756
             Project: Commons IO
          Issue Type: Improvement
          Components: Streams/Writers
    Affects Versions: 2.11.0
            Reporter: Woden Cafe
             Fix For: 2.12.0


This change is to make org.apache.commons.io.output.FileWriterWithEncoding 
extend org.apache.commons.io.output.ProxyWriter, to use the ProxyWriter's 
delegate Writer rather than storing the delegate Writer reference within 
FileWriterWithEncoding explicitly.

This simplifies FileWriterWithEncoding as it no longer needs to override any 
methods from its super class, and no longer needs to store and maintain a 
reference to a delegate Writer explicitly - this is provided by the super class 
already.

[~kinow] Here is the ticket for the Pull Request.

https://github.com/apache/commons-io/pull/296



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to