aboutsummaryrefslogtreecommitdiff
path: root/RELEASE-NOTES.txt
diff options
context:
space:
mode:
authorStephen Colebourne <scolebourne@apache.org>2006-12-03 18:30:07 +0000
committerStephen Colebourne <scolebourne@apache.org>2006-12-03 18:30:07 +0000
commit1d0c2d0ba1ddc78070e415d05b2bd26cb288cecb (patch)
tree9cafc64d948946d9db573cb507af6e4d7568aeec /RELEASE-NOTES.txt
parente7ca7823f0c4ab695b915d960833a265a383f064 (diff)
downloadapache-commons-io-1d0c2d0ba1ddc78070e415d05b2bd26cb288cecb.tar.gz
IO-84 - Make IOUtils.copy return -1 not an exception for large files, as more backwards compatible
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@481854 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'RELEASE-NOTES.txt')
-rw-r--r--RELEASE-NOTES.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt
index d818850d..5c0c74c5 100644
--- a/RELEASE-NOTES.txt
+++ b/RELEASE-NOTES.txt
@@ -60,15 +60,14 @@ Bug fixes from 1.2
- This now handles the situation where an error occurs when deleting the file
- IOUtils.copy [IO-84]
- - 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
+ - Copy methods could return inaccurate byte/char count for large streams
+ - The copy(InputStream, OutputStream) method now returns -1 if the count is greater than an int
+ - The copy(Reader, Writer) method now throws now returns -1 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
+ - Methods were declared as int thus the count was innacurate for large streams
- new long based methods getByteCount()/resetByteCount() added
- existing methods changed to throw an exception if the count is greater than an int