In Wicket 7.12.0, adding a DebugBar to your page will result in an empty / useless debug bar if you don’t add a DebugBarInitializer to your app. Hopefully this will be documented by the wicket project in the future, but it isn’t right now.
Category Archives: Java
Java HashMap.hashCode() Not Unique With String Keys And Values
Java’s HashMap (AbstractMap really) hashCode() implementation sums the hash codes of its entries rather than multiplies them by a prime number like String.hashCode() does. This can cause weird collisions in very similar maps.