I'm sorry, I don't really have time to investigate this right now;
I'll have to get back to you later this week. In the mean time, can
you show me how you call EqualsVerifier? And maybe post the stacktrace
that's printed when you add .debug() to the call?
Jan
As I already mentioned[1], EqualsVerifier can't deal with the smart
tricks that String employs. EV aims at the "average case" equals
method, and String is simply not average case.
Of course I could adapt EV to always pass if it's asked to verify
String, but that just seems silly :).
Regards,
Jan
[1] see http://groups.google.com/group/equalsverifier/msg/01fa778e7d88d525
In fact, the FAQ does include that :). But I agree it's a bit hard to
find. I've added an extra entry for java.lang.String to the FAQ to
make it more easily accessible.
Regards,
Jan