mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-29 09:42:06 +01:00
Remove unnecessary code in Message
This commit is contained in:
parent
ce8ccf3647
commit
10cca256c6
1 changed files with 1 additions and 4 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue