netty5/common/src/main/java
nmittler dd5b2c30c5 Allowing negative keys in IntObjectHashMap.
Motivation:

IntObjectHashMap throws an exception when using negative values for
keys.

Modifications:

Changed hashIndex() to normalize the index if the mod operation returns
a negative number.

Result:

IntObjectHashMap supports negative key values.
2014-10-20 18:06:48 +02:00
..
io/netty/util Allowing negative keys in IntObjectHashMap. 2014-10-20 18:06:48 +02:00