diff options
author | Vitaly Takmazov | 2017-03-04 07:31:18 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-03-04 07:31:18 +0300 |
commit | 1a31521dd4e1f7ef96c9d82d69b3d7aa42282eeb (patch) | |
tree | 69d935e3ca7036a8df769cbdf94f9decf65d1b62 /juick-server/src/main/java/com/juick/service/security | |
parent | c2d7eadf75c27854f8ad12a6dfce82fa900b0f3e (diff) |
cleanup deprecation warnings
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.java | 2 |
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; } |