[ https://issues.apache.org/jira/browse/NET-496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb resolved NET-496. ---------------------- Resolution: Fixed Fix Version/s: 3.3 URL: http://svn.apache.org/viewvc?rev=1437653&view=rev Log: NET-496 Util copyReader/copyStream classes should use default buffer size for non-positive buffer size parameters Modified: commons/proper/net/trunk/src/changes/changes.xml commons/proper/net/trunk/src/main/java/org/apache/commons/net/io/Util.java URL: http://svn.apache.org/viewvc?rev=1437659&view=rev Log: Simplify, in light of NET-496 Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java > Util copyReader/copyStream classes should use default buffer size for > non-positive buffer size parameters > --------------------------------------------------------------------------------------------------------- > > Key: NET-496 > URL: https://issues.apache.org/jira/browse/NET-496 > Project: Commons Net > Issue Type: Improvement > Reporter: Sebb > Fix For: 3.3 > > > The Util copyStream and copyReader methods currently fail if the provided > bufferSize is not positive. > It would be more useful to use the default buffer size in such cases. -- 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