Remove unnecessarily suppressed warnings

This commit is contained in:
Florian Schmaus 2020-04-12 12:07:59 +02:00
parent de0f3cd06c
commit 0479a75d1d
2 changed files with 0 additions and 2 deletions

View File

@ -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) {

View File

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