On Wed, Feb 9, 2011 at 8:51 AM, Christian Müller <christian.muel...@gmail.com> wrote: > The Camel Sonar Pilot lists 4 blocker for Camel [1]. All in > org.apache.camel.impl.converter.AnnotationTypeConverterLoader because it use > the URL.equals() and URL.hashCode() methods.You can find the explanation in > [2] why this is not a good idea. I would like to change it url.toURI()? Any > doubt? >
Well spotted. +1 > [1] > http://sonar.apache.org/drilldown/violations/org.apache.camel:camel?priority=BLOCKER# > [2] > http://michaelscharf.blogspot.com/2006/11/javaneturlequals-and-hashcode-make.html > > Christian > -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/