aboutsummaryrefslogtreecommitdiff
path: root/juick-crosspost/src/main/java/com/juick
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-crosspost/src/main/java/com/juick
parentc2d7eadf75c27854f8ad12a6dfce82fa900b0f3e (diff)
cleanup deprecation warnings
Diffstat (limited to 'juick-crosspost/src/main/java/com/juick')
-rw-r--r--juick-crosspost/src/main/java/com/juick/components/Crosspost.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-crosspost/src/main/java/com/juick/components/Crosspost.java b/juick-crosspost/src/main/java/com/juick/components/Crosspost.java
index d7c0ec14..d2736d85 100644
--- a/juick-crosspost/src/main/java/com/juick/components/Crosspost.java
+++ b/juick-crosspost/src/main/java/com/juick/components/Crosspost.java
@@ -67,8 +67,8 @@ public class Crosspost extends TextWebSocketHandler {
MessagesService messagesService;
public Crosspost(final Environment env, final CrosspostService crosspostService) {
- Assert.notNull(env);
- Assert.notNull(crosspostService);
+ Assert.notNull(env, "Environment must be initialized");
+ Assert.notNull(crosspostService, "CrosspostService must be initialized");
this.crosspostService = crosspostService;