You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in DnaComponent.equals, "getClass() != obj.getClass()" should be
"obj instanceof DnaComponent". Also, instead of doing a lot of if then
comparisons, would it be simpler if the hashCode is overwritten to use
the instance values?
good point. fiy the .equals methods where auto generated by netbeans.
As you may have noticed Tests dont exist yet or those that i started wrtting dont work yet.
I'll get back to testing
The text was updated successfully, but these errors were encountered:
made some changes to .equals and hasCode for all objects to fulfill requirements to pass basic service tests. Look like I have yet to address this issue completely. But hashCode now uses the field values from the instance, for all objects.
in DnaComponent.equals, "getClass() != obj.getClass()" should be
good point. fiy the .equals methods where auto generated by netbeans.
As you may have noticed Tests dont exist yet or those that i started wrtting dont work yet.
I'll get back to testing
The text was updated successfully, but these errors were encountered: