hi david,
the instanceof is some kind of standard implemenation for equals(). see Effective Java by Josh Bloch.
jakob
David Zejda schrieb:
I think, it would be better to use something like
((source != null) && (source.getClass()==Calendar.class)) { ...
in conversion strategies than
if (source instanceof Calendar) { ...
to avoid reducing e.g. custom Calendar subclass to Calendar during conversion.
David
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
