1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 12:02:05 +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.
*/
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);
}