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

Pascal Schumacher closed IO-430.
--------------------------------
    Resolution: Invalid

> IOUtils.copy(IS, Writer) implementation and javadoc disagrees
> -------------------------------------------------------------
>
>                 Key: IO-430
>                 URL: https://issues.apache.org/jira/browse/IO-430
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 2.5
>            Reporter: Bernd Eckenfels
>            Priority: Minor
>              Labels: javadoc
>
> The Javadoc of the (deprecated) IOUtils.copy(InputStream,Writer) states:
> {code}
>   * This method uses {@link InputStreamReader}.
> {code}
> but the actual code does not:
> {code}
>     @Deprecated
>     public static void copy(final InputStream input, final Writer output)
>             throws IOException {
>         copy(input, output, Charset.defaultCharset());
>     }
> {code}
> My suggestion would be to change the javadoc to state "@link 
> copy(InputStream, Writer, Charset)} with @{code Charset.defaultCharset()}"



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to