I'm getting an error compiling my data object from xdoclet cvs latest, in
this line:
 result = 37*result + (int) content;


Where content is a byte[] field, which xdoclet somehow tries to cast as an
int.
However, I'm baffled by the way that equals and hashCode are defined...why
so convoluted? Also, why does the equals method not short-circuit as soon
as any unequality is detected? Seems somewhat wasteful to go through and
check all the other fields once one has failed.



_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to