aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/main/java/com/juick/service/SubscriptionServiceImpl.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-03-04 07:31:18 +0300
committerGravatar Vitaly Takmazov2017-03-04 07:31:18 +0300
commit1a31521dd4e1f7ef96c9d82d69b3d7aa42282eeb (patch)
tree69d935e3ca7036a8df769cbdf94f9decf65d1b62 /juick-server/src/main/java/com/juick/service/SubscriptionServiceImpl.java
parentc2d7eadf75c27854f8ad12a6dfce82fa900b0f3e (diff)
cleanup deprecation warnings
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;
}