Пример #1
0
 private UserBean getByNeckName(String nickName) {
   try {
     return (UserBean) ursbs.get(nickName);
   } catch (EntityNotFoundException e) {
     return null;
   }
 }
Пример #2
0
 private UserBean getByEmail(String email) {
   try {
     return (UserBean) usbs.get(email);
   } catch (EntityNotFoundException e) {
     return null;
   }
 }