You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by cd...@apache.org on 2011/05/13 21:07:35 UTC
svn commit: r1102869 - in /hadoop/common/branches/branch-0.20-security:
CHANGES.txt src/core/org/apache/hadoop/io/IOUtils.java
Author: cdouglas
Date: Fri May 13 19:07:34 2011
New Revision: 1102869
URL: http://svn.apache.org/viewvc?rev=1102869&view=rev
Log:
HADOOP-7274. Fix typos in IOUtils. Contributed by Jonathan Eagles
Modified:
hadoop/common/branches/branch-0.20-security/CHANGES.txt
hadoop/common/branches/branch-0.20-security/src/core/org/apache/hadoop/io/IOUtils.java
Modified: hadoop/common/branches/branch-0.20-security/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security/CHANGES.txt?rev=1102869&r1=1102868&r2=1102869&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security/CHANGES.txt (original)
+++ hadoop/common/branches/branch-0.20-security/CHANGES.txt Fri May 13 19:07:34 2011
@@ -19,6 +19,8 @@ Release 0.20.205.0 - unreleased
HADOOP-7277. Add generation of run configurations to eclipse target.
(Jeffrey Naisbitt and Philip Zeyliger via cdouglas)
+ HADOOP-7274. Fix typos in IOUtils. (Jonathan Eagles via cdouglas)
+
Release 0.20.204.0 - unreleased
BUG FIXES
Modified: hadoop/common/branches/branch-0.20-security/src/core/org/apache/hadoop/io/IOUtils.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security/src/core/org/apache/hadoop/io/IOUtils.java?rev=1102869&r1=1102868&r2=1102869&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security/src/core/org/apache/hadoop/io/IOUtils.java (original)
+++ hadoop/common/branches/branch-0.20-security/src/core/org/apache/hadoop/io/IOUtils.java Fri May 13 19:07:34 2011
@@ -112,7 +112,7 @@ public class IOUtils {
while ( toRead > 0 ) {
int ret = in.read( buf, off, toRead );
if ( ret < 0 ) {
- throw new IOException( "Premeture EOF from inputStream");
+ throw new IOException( "Premature EOF from inputStream");
}
toRead -= ret;
off += ret;
@@ -129,7 +129,7 @@ public class IOUtils {
while ( len > 0 ) {
long ret = in.skip( len );
if ( ret < 0 ) {
- throw new IOException( "Premeture EOF from inputStream");
+ throw new IOException( "Premature EOF from inputStream");
}
len -= ret;
}