From 1a31521dd4e1f7ef96c9d82d69b3d7aa42282eeb Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 4 Mar 2017 07:31:18 +0300 Subject: cleanup deprecation warnings --- .../main/java/com/juick/service/security/JuickUserDetailsService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-server/src/main/java/com/juick/service/security') 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; } -- cgit v1.2.3