Remove unnecessary code in Message

This commit is contained in:
Florian Schmaus 2014-10-24 11:25:13 +02:00
parent ce8ccf3647
commit 10cca256c6
1 changed files with 1 additions and 4 deletions

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);
} }