Remove unused method.

cusax-fix
Damian Minkov 16 years ago
parent f5b07c310b
commit bf1698aec9

@ -146,26 +146,6 @@ public void removeParticipantPresenceListener(
}
}
/**
* Create a Message instance for sending arbitrary MIME-encoding content.
*
* @param content
* content value
* @param contentType
* the MIME-type for <tt>content</tt>
* @param contentEncoding
* encoding used for <tt>content</tt>
* @param subject
* a <tt>String</tt> subject or <tt>null</tt> for now subject.
* @return the newly created message.
*/
public Message createMessage(byte[] content, String contentType,
String contentEncoding, String subject)
{
return new MessageYahooImpl(new String(content, "UTF-8"), contentType,
contentEncoding, subject);
}
/**
* Create a Message instance for sending a simple text messages with default
* (text/plain) content type and encoding.

@ -478,9 +478,11 @@ public void fireLocalUserPresenceEvent(AdHocChatRoom chatRoom,
* @param subject a <tt>String</tt> subject or <tt>null</tt> for now
* subject.
* @return the newly created message.
* @throws UnsupportedEncodingException missing utf-8 in platform we use.
*/
public Message createMessage(byte[] content, String contentType,
private Message createMessage(byte[] content, String contentType,
String contentEncoding, String subject)
throws UnsupportedEncodingException
{
return new MessageYahooImpl(new String(content, "UTF-8"), contentType,
contentEncoding, subject);

Loading…
Cancel
Save