test/net/java/sip/communicator/slick/protocol/jabber/TestOperationSetMultiUserChat2.java
/**
     * utiliy method to know if a given nickname is on a
     * <tt>ChatRoomMember</tt> list
     *
     * @param name the name we are looking for
     * @param memberList the list where we search
     *
     * @return true if the name is found, false otherwise
     */
utiliy method to know if a given nickname is on a
ChatRoomMember list

@param name the name we are looking for
@param memberList the list where we search

@return true if the name is found, false otherwise
utiliy method to know if a given nickname is on a ChatRoomMember list @param name the name we are looking for @param memberList the list where we search @return true if the name is found false otherwise
private boolean nameIsOnMemberList(
        String name, List<ChatRoomMember> memberList)
    {
        for (ChatRoomMember member : memberList)
        {
            if (member.getName().equals(name))
            {
                return true;
            }
        }
        return false;
    }
private boolean nameIsOnMemberList ( String name , List < ChatRoomMember > memberList ) { for ( ChatRoomMember member : memberList ) { if ( member . getName ( ) . equals ( name ) ) { return true ; } } return false ; }
utiliy method to know if a given nickname is on a
 <tt>ChatRoomMember</tt> list
utiliy method to know if a given nickname is on a <tt > ChatRoomMember< / tt > list