From aa15f2243ea4ad0b80a4cc1e81eeedb94e7409b9 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 30 Aug 2018 11:38:06 +0300 Subject: email registration --- juick-server/src/main/java/com/juick/service/UserServiceImpl.java | 1 + 1 file changed, 1 insertion(+) (limited to 'juick-server/src/main/java/com/juick/service') diff --git a/juick-server/src/main/java/com/juick/service/UserServiceImpl.java b/juick-server/src/main/java/com/juick/service/UserServiceImpl.java index bcdb7a13..e841b539 100644 --- a/juick-server/src/main/java/com/juick/service/UserServiceImpl.java +++ b/juick-server/src/main/java/com/juick/service/UserServiceImpl.java @@ -142,6 +142,7 @@ public class UserServiceImpl extends BaseJdbcService implements UserService { @Override @Transactional(readOnly = true) + @Nonnull public User getUserByEmail(String email) { if (StringUtils.isNotBlank(email)) { List list = getJdbcTemplate().query( -- cgit v1.2.3