mirror of
https://github.com/apache/commons-collections.git
synced 2025-02-06 10:09:16 +00:00
Findbugs points out that an int can never be > Integer.MAX_VALUE
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1476851 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
feb7b2fe0c
commit
f2b49b393c
@ -67,6 +67,6 @@ public abstract class AbstractKeyAnalyzer<K> implements KeyAnalyzer<K> {
|
||||
* {@link Integer#MAX_VALUE}
|
||||
*/
|
||||
static boolean isValidBitIndex(final int bitIndex) {
|
||||
return 0 <= bitIndex && bitIndex <= Integer.MAX_VALUE;
|
||||
return bitIndex >= 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user