[ 
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 protected.

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 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

 


> 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 protected.
> I'm happy to open a PR for this.
> Thank you
>  



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

Reply via email to