You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2010/02/12 16:17:31 UTC
svn commit: r909453 -
/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/process/ProcessInputStream.java
Author: hindessm
Date: Fri Feb 12 15:17:28 2010
New Revision: 909453
URL: http://svn.apache.org/viewvc?rev=909453&view=rev
Log:
Fix comments to match new nls tokens.
Modified:
harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/process/ProcessInputStream.java
Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/process/ProcessInputStream.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/process/ProcessInputStream.java?rev=909453&r1=909452&r2=909453&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/process/ProcessInputStream.java (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/java/org/apache/harmony/luni/internal/process/ProcessInputStream.java Fri Feb 12 15:17:28 2010
@@ -123,11 +123,11 @@
return -1;
}
if (nbytes > buffer.length || nbytes < 0) {
- // K0031=Length out of bounds \: {0}
+ // luni.18=Length out of bounds \: {0}
throw new ArrayIndexOutOfBoundsException(Messages.getString("luni.18", nbytes)); //$NON-NLS-1$
}
if (offset < 0 || offset > buffer.length - nbytes) {
- // K002e=Offset out of bounds \: {0}
+ // luni.12=Offset out of bounds \: {0}
throw new ArrayIndexOutOfBoundsException(Messages.getString("luni.12", offset)); //$NON-NLS-1$
}
return readImpl(buffer, offset, nbytes, handle);