Issue 408 -- equals and hash methods for mapper
Updated 1 year, 10 months ago
| David Pollak | Reviewers | ||
| dpp, marius, charles, heiko, joni, atsuhiko, jorge, naftoli, kris, indrajit, alexb, dlouwers, mstarzyk, rmellgren, jhoffman, probinett, jmadsen, mhartmann, jstrachan, jgoday | |||
| None | LiftWeb-archive | ||
https://liftweb.assembla.com/spaces/liftweb/tickets/408-add-equals-and-hashcode-to-idpk-trait#last_comment dpp_issue_408 Added a hashCode method for MappedField and added a test to insure that you can put Keyed mapper objects into a set and they hash/compare correctly
Added a test
Posted 1 year, 10 months ago (March 16th, 2010, 11:17 p.m.)
Is i_is_! guaranteed to never return null? I would prefer to have a null-check in the hashCode method.
Review request changed
Updated 1 year, 10 months ago (March 25th, 2010, 8:07 a.m.)
-
- added Diff r2
Added a null test for hashCode
