commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1639573 - /commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/utils/BitInputStream.java
Date Fri, 14 Nov 2014 05:20:51 GMT
Author: bodewig
Date: Fri Nov 14 05:20:50 2014
New Revision: 1639573

URL: http://svn.apache.org/r1639573
Log:
I think a number is greater, not bigger

Modified:
    commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/utils/BitInputStream.java

Modified: commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/utils/BitInputStream.java
URL: http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/utils/BitInputStream.java?rev=1639573&r1=1639572&r2=1639573&view=diff
==============================================================================
--- commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/utils/BitInputStream.java
(original)
+++ commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/utils/BitInputStream.java
Fri Nov 14 05:20:50 2014
@@ -78,7 +78,7 @@ public class BitInputStream implements C
      */
     public int readBits(final int count) throws IOException {
         if (count < 0 || count > MAXIMUM_CACHE_SIZE) {
-            throw new IllegalArgumentException("count must not be negative or bigger than
" + MAXIMUM_CACHE_SIZE);
+            throw new IllegalArgumentException("count must not be negative or greater than
" + MAXIMUM_CACHE_SIZE);
         }
         while (bitsCachedSize < count) {
             final int nextByte = in.read();



Mime
View raw message