mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-26 14:17:57 +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.
|
||||
*/
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue