Misc tweaks and comments.

fix-message-formatting
Danny van Heumen 11 years ago
parent ace03de6ef
commit da4c5dbae7

@ -646,6 +646,7 @@ public String getUserNickname()
* @throws OperationFailedException if the setting the new nickname changes
* for some reason.
*/
@Override
public void setUserNickname(final String nickName)
throws OperationFailedException
{
@ -1382,7 +1383,11 @@ public ConferenceDescription publishConference(
@Override
public Contact getPrivateContactByNickname(final String name)
{
LOGGER.debug("Getting private contact for nick name '" + name + "'.");
if (LOGGER.isDebugEnabled())
{
LOGGER.debug("Getting private contact for nick name '" + name
+ "'.");
}
return this.parentProvider.getPersistentPresence()
.findOrCreateContactByID(name);
}

@ -13,21 +13,84 @@
*/
public enum Color
{
/**
* White.
*/
WHITE("White"),
/**
* Black.
*/
BLACK("Black"),
/**
* Navy.
*/
BLUE("Navy"),
/**
* Green.
*/
GREEN("Green"),
/**
* Red.
*/
RED("Red"),
/**
* Maroon.
*/
BROWN("Maroon"),
/**
* Purple.
*/
PURPLE("Purple"),
/**
* Orange.
*/
ORANGE("Orange"),
/**
* Yellow.
*/
YELLOW("Yellow"),
/**
* Lime.
*/
LIGHT_GREEN("Lime"),
/**
* Teal.
*/
TEAL("Teal"),
/**
* Cyan.
*/
LIGHT_CYAN("Cyan"),
/**
* RoyalBlue.
*/
LIGHT_BLUE("RoyalBlue"),
/**
* Fuchsia.
*/
PINK("Fuchsia"),
/**
* Grey.
*/
GREY("Grey"),
/**
* Silver.
*/
LIGHT_GREY("Silver");
/**

@ -15,15 +15,55 @@
*/
public enum Mode
{
/**
* Instance for unknown mode type.
*/
UNKNOWN('?', null),
/**
* Mode 'Owner'. (Not recognized by all IRC servers.)
*/
OWNER('O', ChatRoomMemberRole.OWNER),
/**
* Mode 'Operator'.
*/
OPERATOR('o', ChatRoomMemberRole.ADMINISTRATOR),
/**
* Mode 'Half-Operator'. (Not recognized by all IRC servers.)
*/
HALFOP('h', ChatRoomMemberRole.MODERATOR),
/**
* Mode 'Voice'. For giving voice to an IRC member which comes into effect
* in a moderated channel.
*/
VOICE('v', ChatRoomMemberRole.MEMBER),
/**
* Mode 'Limit'.
*/
LIMIT('l', null),
/**
* Mode 'Private'.
*/
PRIVATE('p', null),
/**
* Mode 'Secret'.
*/
SECRET('s', null),
/**
* Mode 'Invite'.
*/
INVITE('i', null),
/**
* Mode 'Ban'.
*/
BAN('b', null);
/**

Loading…
Cancel
Save