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

ObservableInputStream.Observer are package-private

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.7
    • Component/s: Streams/Writers
    • Labels:
      None

      Description

      Hi,

      According with the documentation of `ObservableInputStream` and `ObservableInputStream.Observer`, it should be possible to use those classes as part of the `commons-io` utilities. However, `ObservableInputStream.Observer`'s methods are package private and can't be extended outside the project's source code.

      My suggestion is to make `ObservableInputStream.Observer`'s methods protected.

      I'm happy to open a PR for this.

      Thank you

       

        Attachments

          Activity

            People

            • Assignee:
              jochen@apache.org Jochen Wiedmann
              Reporter:
              bpalos Bruno Palos
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: