You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by akurbanov <an...@gmail.com> on 2018/09/19 14:13:12 UTC

***UNCHECKED*** Re: new CacheConfiguration always returns same instance

Hello,

Why would you expect them to be different in your test? This is not a
violation of hashcode general contract. They are calculated using 
MutableConfiguration
<https://static.javadoc.io/javax.cache/cache-api/1.0.0/javax/cache/configuration/MutableConfiguration.html> 
.hashCode() from  JSR 107
<https://jcp.org/aboutJava/communityprocess/final/jsr107/index.html>  , you
may check here for source code executed at this point: 
MutableConfiguration.java
<https://github.com/jsr107/jsr107spec/blob/master/src/main/java/javax/cache/configuration/MutableConfiguration.java>  

Regards,
Anton



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/