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

ObservableInputStream.Observer are package-private

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.6
    • 2.7
    • Streams/Writers
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: