I am currently working with the maven-model project and have found an
issue in the generated RepositoryBase class. It seems the "equals"
method violates the contract of "equals" by immediately casting the
input parameter to RepositoryBase. This causes a ClassCastException if
anything besides a RepositoryBase (or a subclass) instance is passed in.
I have logged a bug [1] and submitted a patch to fix the issue. I just
need someone to verify and include the fix in the next release. Thanks!

Jared

[1] http://jira.codehaus.org/browse/MNG-3240

----------------------------------------------------------------------
CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024.

Reply via email to