aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/service/security
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server/src/main/java/com/juick/service/security')
-rw-r--r--juick-server/src/main/java/com/juick/service/security/JuickUserDetailsService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/main/java/com/juick/service/security/JuickUserDetailsService.java b/juick-server/src/main/java/com/juick/service/security/JuickUserDetailsService.java
index d1fd9345..6f9ece7e 100644
--- a/juick-server/src/main/java/com/juick/service/security/JuickUserDetailsService.java
+++ b/juick-server/src/main/java/com/juick/service/security/JuickUserDetailsService.java
@@ -15,7 +15,7 @@ public class JuickUserDetailsService implements UserDetailsService {
private final UserService userService;
public JuickUserDetailsService(final UserService userService) {
- Assert.notNull(userService);
+ Assert.notNull(userService, "UserService must be initialized");
this.userService = userService;
}