diff options
author | Niall Pemberton <niallp@apache.org> | 2006-10-12 08:24:23 +0000 |
---|---|---|
committer | Niall Pemberton <niallp@apache.org> | 2006-10-12 08:24:23 +0000 |
commit | 4147a50bae4e937d0bd41c397b13009b56a8cf2a (patch) | |
tree | 026e6d1f81efd37bd2715732357e1d4d7aa7c6f3 /RELEASE-NOTES.txt | |
parent | 46c56e67b6c10b1e5f4813f372f19bf1da7ffd38 (diff) | |
download | apache-commons-io-4147a50bae4e937d0bd41c397b13009b56a8cf2a.tar.gz |
IO-84 Modify copy() methods that return an int to throw an ArithmeticException if the returned size is too large for an int to handle. Add two new equivalent copyLarge() methods that return a long for large files.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@463154 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'RELEASE-NOTES.txt')
-rw-r--r-- | RELEASE-NOTES.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 158c433b..f3d908e4 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -60,8 +60,12 @@ Bug fixes from 1.2 - This now handles the situation where an error occurs when deleting the file - IOUtils.copy [IO-84] - - Comment about result byte/char count being limited to an int, thus - being inacurate for large streams + - The copy(InputStream, OutputStream) method now throws an exception if + the count is greater than an int + - The copy(Reader, Writer) method now throws an exception if + the count is greater than an int + - Added a new copyLarge(InputStream, OutputStream) method that returns a long + - Added a new copyLarge(Reader, Writer) method that returns a long - CountingInputStream/CountingOutputStream [IO-84] - methods were declared as int thus the count was innacurate for large streams |