commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (IO-380) FileUtils.copyInputStreamToFile should document it closes the input source
Date Wed, 08 May 2013 22:53:21 GMT

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

Sebb updated IO-380:
--------------------

    Comment: was deleted

(was: 

URL: http://svn.apache.org/r1480346
Log:
[IO-381] Alternative implementation suggested by Sebb.

Modified:
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java

URL: http://svn.apache.org/r1480491
Log:
Javadoc fix

Modified:
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
)
    
> FileUtils.copyInputStreamToFile should document it closes the input source
> --------------------------------------------------------------------------
>
>                 Key: IO-380
>                 URL: https://issues.apache.org/jira/browse/IO-380
>             Project: Commons IO
>          Issue Type: Improvement
>    Affects Versions: 2.4
>         Environment: JDK 7, OSX 10.8.3 (doesn't matter)
>            Reporter: Claudio Nieder
>            Priority: Trivial
>             Fix For: 2.5
>
>
> It would be nice to extend the parameter description
> @param source  the <code>InputStream</code> to copy bytes from, must not
be {@code null}
> to read:
> @param source  the <code>InputStream</code> to copy bytes from, must not
be {@code null}, will be closed
> so that one is aware it cannot be used e.g. on ZipInputStream which require the stream
to still be open for executing zip.getNextEntry.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message