aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/service/SubscriptionServiceImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server/src/main/java/com/juick/service/SubscriptionServiceImpl.java')
-rw-r--r--juick-server/src/main/java/com/juick/service/SubscriptionServiceImpl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/juick-server/src/main/java/com/juick/service/SubscriptionServiceImpl.java b/juick-server/src/main/java/com/juick/service/SubscriptionServiceImpl.java
index ae4af9df..d1eef338 100644
--- a/juick-server/src/main/java/com/juick/service/SubscriptionServiceImpl.java
+++ b/juick-server/src/main/java/com/juick/service/SubscriptionServiceImpl.java
@@ -31,13 +31,13 @@ public class SubscriptionServiceImpl extends BaseJdbcService implements Subscrip
MessagesService messagesService, TagService tagService) {
super(jdbcTemplate, null);
- Assert.notNull(userService);
+ Assert.notNull(userService, "UserService must be initialized");
this.userService = userService;
- Assert.notNull(messagesService);
+ Assert.notNull(messagesService,"MessagesService must be initialized");
this.messagesService = messagesService;
- Assert.notNull(tagService);
+ Assert.notNull(tagService, "TagService must be initialized");
this.tagService = tagService;
}