Hi all, According to java.lang.Object javadoc (http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html), "equal objects must have equal hash codes".
Current implementation of the "equals" and "hashCode" method of the org.apache.camel.util.KeyValueHolder does not seem to follow that rule: hashCode is calculated from the key and value attributes while the equals compares only the key attribute. Could generate unexpected behaviour in certain circumstances. Am i wrong ? Regards. -- View this message in context: http://camel.465427.n5.nabble.com/org-apache-camel-util-KeyValueHolder-equals-bug-tp5753995.html Sent from the Camel - Users mailing list archive at Nabble.com.