aboutsummaryrefslogtreecommitdiff
path: root/juick-common/src
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-07-26 09:57:04 +0300
committerGravatar Vitaly Takmazov2018-07-26 10:48:43 +0300
commit91bd51c87c715954e21e96948db11aa980dcbeb2 (patch)
tree1b5af9446825ad0e8cb902c8311655645c865de1 /juick-common/src
parent09552f180282bd845bac585408f27e1504e7897d (diff)
WebsocketManager refactoring
Diffstat (limited to 'juick-common/src')
-rw-r--r--juick-common/src/main/java/com/juick/service/UserService.java3
1 files changed, 2 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 df62f0ef..08a7a6ed 100644
--- a/juick-common/src/main/java/com/juick/service/UserService.java
+++ b/juick-common/src/main/java/com/juick/service/UserService.java
@@ -22,6 +22,7 @@ import com.juick.User;
import com.juick.server.helpers.Auth;
import com.juick.server.helpers.UserInfo;
+import javax.annotation.Nonnull;
import java.util.Collection;
import java.util.List;
import java.util.Optional;
@@ -65,7 +66,7 @@ public interface UserService {
int getUIDbyHash(String hash);
- com.juick.User getUserByHash(String hash);
+ @Nonnull com.juick.User getUserByHash(String hash);
String getHashByUID(int uid);