You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Bruno Palos (JIRA)" <ji...@apache.org> on 2018/07/27 08:23:00 UTC

[jira] [Updated] (IO-582) ObservableInputStream.Observer are package-private

     [ https://issues.apache.org/jira/browse/IO-582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruno Palos updated IO-582:
---------------------------
    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 public.

I'm happy to open a PR for this.

Thank you

 

  was:
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 used outside the project's source code.

My suggestion is to make `ObservableInputStream.Observer` methods public.

I'm happy to open a PR for this.

Thank you

 


> ObservableInputStream.Observer are package-private
> --------------------------------------------------
>
>                 Key: IO-582
>                 URL: https://issues.apache.org/jira/browse/IO-582
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Streams/Writers
>    Affects Versions: 2.6
>            Reporter: Bruno Palos
>            Priority: Minor
>
> 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 public.
> I'm happy to open a PR for this.
> Thank you
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)