aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/service/UserServiceImpl.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-08-30 11:38:06 +0300
committerGravatar Vitaly Takmazov2018-08-30 11:38:06 +0300
commitaa15f2243ea4ad0b80a4cc1e81eeedb94e7409b9 (patch)
treef1afd1b0471bb878940616c7c269c2980a5b10b1 /juick-server/src/main/java/com/juick/service/UserServiceImpl.java
parent4e5540dd5c58906a3c4afe18197f1ab1e0292692 (diff)
email registration
Diffstat (limited to 'juick-server/src/main/java/com/juick/service/UserServiceImpl.java')
-rw-r--r--juick-server/src/main/java/com/juick/service/UserServiceImpl.java1
1 files changed, 1 insertions, 0 deletions
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<User> list = getJdbcTemplate().query(