Menu

#12 MorphyDynaBean equals method return wrong value

open
nobody
None
5
2010-08-06
2010-08-06
celine
No

In MorphDynBean class, the equals method return always 'true' when comparing two MorphDynaBean objects.

This may be du to the line 94 (MorphDynaBean class) :
/* 94*/ builder.append(dynaValues.get(prop.getName()), dynaValues.get(prop.getName()));

It compares the instance of the morphDynaBean with itself and not with 'other'.

Discussion


Log in to post a comment.