1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-25 15:52:06 +01:00

Remove unnecessary code in Message

This commit is contained in:
Florian Schmaus 2014-10-24 11:25:13 +02:00
parent ce8ccf3647
commit 10cca256c6

View file

@ -66,7 +66,6 @@ public final class Message extends Packet {
* Creates a new, "normal" message. * Creates a new, "normal" message.
*/ */
public Message() { public Message() {
super();
} }
/** /**
@ -75,7 +74,6 @@ public final class Message extends Packet {
* @param to the recipient of the message. * @param to the recipient of the message.
*/ */
public Message(String to) { public Message(String to) {
super();
setTo(to); setTo(to);
} }
@ -86,8 +84,7 @@ public final class Message extends Packet {
* @param type the message type. * @param type the message type.
*/ */
public Message(String to, Type type) { public Message(String to, Type type) {
super(); this(to);
setTo(to);
setType(type); setType(type);
} }