src/net/java/sip/communicator/impl/protocol/jabber/OperationSetPersistentPresenceJabberImpl.java
/**
     * Adds the priority mapping for the <tt>statusName</tt>.
     * Make sure we replace ' ' with '_' and use upper case as this will be
     * and the property names used in account properties that can override
     * this values.
     * @param statusName the status name to use
     * @param value and its priority
     */
Adds the priority mapping for the statusName.
Make sure we replace ' ' with '_' and use upper case as this will be
and the property names used in account properties that can override
this values.
@param statusName the status name to use
@param value and its priority
Adds the priority mapping for the statusName . Make sure we replace ' ' with ' _ ' and use upper case as this will be and the property names used in account properties that can override this values . @param statusName the status name to use @param value and its priority
private static void addPresenceToPriorityMapping(String statusName,
                                                     int value)
    {
        statusToPriorityMappings.put(
            statusName.replaceAll(" ", "_").toUpperCase(), value);
    }
private static void addPresenceToPriorityMapping ( String statusName , int value ) { statusToPriorityMappings . put ( statusName . replaceAll ( " " , "_" ) . toUpperCase ( ) , value ) ; }
Adds the priority mapping for the <tt>statusName</tt>.
Adds the priority mapping for the <tt > statusName< / tt > .