Le 12/11/2014 21:02, bode...@apache.org a écrit : > public int readBits(final int count) throws IOException { > - if (count < 0 || count > 32) { > + if (count < 0 || count > 31) { > throw new IllegalArgumentException("count must be between 0 and > 32"); > } > while (bitsCachedSize < count) {
I think the message of the exception has to be updated too. Emmanuel Bourg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org