Please sign in to comment.
Fix github issue #27: ArrayIndexOutOfBoundsException in src/java/vold…
…emort/routing/ConsistentRoutingStrategy.java Use a modified abs that always returns a non-negative value instead of Math.abs. This change is backwards compatible because the only hash value that is treated differently is Integer.MIN_VALUE and before the change this would cause a AIOOBE to be thrown.
- Loading branch information...
Showing with 14 additions and 1 deletion.