Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-756

Update FileWriterWithEncoding to extend ProxyWriter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.11.0
    • 2.12.0
    • Streams/Writers

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            wodencafe Woden Cafe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 3h 50m
                3h 50m