aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src/main/java/com/juick/service/UserService.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-08-29 15:10:51 +0300
committerGravatar Vitaly Takmazov2018-08-29 15:10:51 +0300
commit61a28570ca25ae789cca09736ddc427e172ac213 (patch)
treeb1f490597d5f2999121310ae479b38e33eb5fb71 /juick-common/src/main/java/com/juick/service/UserService.java
parent22514aa83e418770c8f60ea1b5ce943daa2383ef (diff)
getUserByName is non nullable
Diffstat (limited to 'juick-common/src/main/java/com/juick/service/UserService.java')
-rw-r--r--juick-common/src/main/java/com/juick/service/UserService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-common/src/main/java/com/juick/service/UserService.java b/juick-common/src/main/java/com/juick/service/UserService.java
index ef49a8ab..cfeaaa51 100644
--- a/juick-common/src/main/java/com/juick/service/UserService.java
+++ b/juick-common/src/main/java/com/juick/service/UserService.java
@@ -44,7 +44,7 @@ public interface UserService {
Optional<User> getUserByUID(int uid);
- User getUserByName(String username);
+ @Nonnull User getUserByName(String username);
User getUserByEmail(String email);