From b211c26d6c8f51a75d3b64b6092284c3847a3a8a Mon Sep 17 00:00:00 2001 From: Lyubomir Marinov Date: Thu, 23 May 2013 18:50:35 +0300 Subject: Fixes warnings, removes trailing whitespace, adds @Override annotations. --- .../jabber/OperationSetBasicInstantMessagingJabberImpl.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicInstantMessagingJabberImpl.java') diff --git a/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicInstantMessagingJabberImpl.java b/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicInstantMessagingJabberImpl.java index 070c506..0005f5d 100644 --- a/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicInstantMessagingJabberImpl.java +++ b/src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicInstantMessagingJabberImpl.java @@ -162,6 +162,7 @@ public class OperationSetBasicInstantMessagingJabberImpl * * @return the newly created message. */ + @Override public Message createMessage(String content, String contentType, String encoding, String subject) { @@ -217,6 +218,7 @@ public class OperationSetBasicInstantMessagingJabberImpl * @return true if the contact supports it and * false otherwise. */ + @Override public boolean isContentTypeSupported(String contentType, Contact contact) { // by default we support default mime type, for other mimetypes @@ -368,7 +370,7 @@ public class OperationSetBasicInstantMessagingJabberImpl /** * Helper function used to send a message to a contact, with the given * extensions attached. - * + * * @param to The contact to send the message to. * @param toResource The resource to send the message to or null if no * resource has been specified @@ -455,7 +457,7 @@ public class OperationSetBasicInstantMessagingJabberImpl // this is plain text so keep it as it is. msg.setBody(content); } - + //msg.addExtension(new Version()); MessageEventManager. @@ -506,6 +508,7 @@ public class OperationSetBasicInstantMessagingJabberImpl * @throws java.lang.IllegalArgumentException if to is not an * instance belonging to the underlying implementation. */ + @Override public void sendInstantMessage( Contact to, ContactResource toResource, Message message) @@ -521,7 +524,7 @@ public class OperationSetBasicInstantMessagingJabberImpl /** * Replaces the message with ID correctedMessageUID sent to * the contact to with the message message - * + * * @param to The contact to send the message to. * @param message The new message. * @param correctedMessageUID The ID of the message being replaced. -- cgit v1.1