From 10cca256c6453277d0a7dc518a4283f98913033c Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Fri, 24 Oct 2014 11:25:13 +0200 Subject: [PATCH] Remove unnecessary code in Message --- .../src/main/java/org/jivesoftware/smack/packet/Message.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/smack-core/src/main/java/org/jivesoftware/smack/packet/Message.java b/smack-core/src/main/java/org/jivesoftware/smack/packet/Message.java index 6c2900dcb..f31b3ca28 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/packet/Message.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/packet/Message.java @@ -66,7 +66,6 @@ public final class Message extends Packet { * Creates a new, "normal" message. */ public Message() { - super(); } /** @@ -75,7 +74,6 @@ public final class Message extends Packet { * @param to the recipient of the message. */ public Message(String to) { - super(); setTo(to); } @@ -86,8 +84,7 @@ public final class Message extends Packet { * @param type the message type. */ public Message(String to, Type type) { - super(); - setTo(to); + this(to); setType(type); }