mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 06:12:05 +01:00
Remove unnecessarily suppressed warnings
This commit is contained in:
parent
de0f3cd06c
commit
0479a75d1d
2 changed files with 0 additions and 2 deletions
|
@ -147,7 +147,6 @@ public class MultiUserChatLight {
|
|||
* for the newly created chat.
|
||||
* @return new Chat for sending private messages to a given room occupant.
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
@Deprecated
|
||||
// Do not re-use Chat API, which was designed for XMPP-IM 1:1 chats and not MUClight private chats.
|
||||
public org.jivesoftware.smack.chat.Chat createPrivateChat(EntityJid occupant, ChatMessageListener listener) {
|
||||
|
|
|
@ -236,7 +236,6 @@ public class LeafNode extends Node {
|
|||
* @throws NoResponseException if there was no response from the remote entity.
|
||||
* @deprecated use {@link #publish(Item)} instead.
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
@Deprecated
|
||||
public <T extends Item> void send(T item) throws NotConnectedException, InterruptedException, NoResponseException, XMPPErrorException {
|
||||
publish(item);
|
||||
|
|
Loading…
Reference in a new issue