DmitryZakharov / homeBudgetWeb

1 stars 0 forks source link

findBy... methods $1 = 1 #31

Closed DmitryZakharov closed 11 years ago

DmitryZakharov commented 11 years ago

findByUserUsername must return a distinct object, not a list of objects. findByEmail must return a distinct object, not a list.

All method calls must be fixed: .findByUserUsername(username).get(0); ...get(0) must be removed.

DmitryZakharov commented 11 years ago

merged to issue #32 coz it was required to be done in order to proceed with issue #32