From 70b8b7d67b894fe7753b8681ee37cfa4721f589f Mon Sep 17 00:00:00 2001 From: Ingo Bauersachs Date: Sat, 7 Jan 2017 20:48:14 +0100 Subject: Remove unused and long deprecated method --- .../AbstractOperationSetBasicInstantMessaging.java | 8 -------- .../protocol/OperationSetBasicInstantMessaging.java | 16 ---------------- 2 files changed, 24 deletions(-) (limited to 'src') diff --git a/src/net/java/sip/communicator/service/protocol/AbstractOperationSetBasicInstantMessaging.java b/src/net/java/sip/communicator/service/protocol/AbstractOperationSetBasicInstantMessaging.java index 4270a78..6f038b5 100644 --- a/src/net/java/sip/communicator/service/protocol/AbstractOperationSetBasicInstantMessaging.java +++ b/src/net/java/sip/communicator/service/protocol/AbstractOperationSetBasicInstantMessaging.java @@ -137,14 +137,6 @@ public abstract class AbstractOperationSetBasicInstantMessaging return createMessage(messageText); } - /** - * {@inheritDoc} - */ - public Message createMessageWithUID(String messageText, String messageUID) - { - return createMessage(messageText); - } - public abstract Message createMessage( String content, String contentType, String encoding, String subject); diff --git a/src/net/java/sip/communicator/service/protocol/OperationSetBasicInstantMessaging.java b/src/net/java/sip/communicator/service/protocol/OperationSetBasicInstantMessaging.java index c0918cb..55dec9a 100644 --- a/src/net/java/sip/communicator/service/protocol/OperationSetBasicInstantMessaging.java +++ b/src/net/java/sip/communicator/service/protocol/OperationSetBasicInstantMessaging.java @@ -80,22 +80,6 @@ public interface OperationSetBasicInstantMessaging String messageText, String contentType, String messageUID); /** - * Create a Message instance with the specified UID and a default - * (text/plain) content type and encoding. - * This method can be useful when message correction is required. One can - * construct the corrected message to have the same UID as the message - * before correction. - * - * @param messageText the string content of the message. - * @param messageUID the unique identifier of this message. - * @return Message the newly created message - * - * @deprecated Method will be removed once OTR bundle is updated on Android. - */ - @Deprecated - public Message createMessageWithUID(String messageText, String messageUID); - - /** * Sends the message to the destination indicated by the * to contact. * -- cgit v1.1