public synchronized final void setCurrentUserData(String userName, boolean isAdmin, Vector channelNames) { this.currentUserName = userName; this.currentUserIsAdmin = isAdmin; this.currentAllowedChannelNames = Util.Helper.quicksort(channelNames); if (this.gui != null) { gui.setCurrentUserData(userName, isAdmin, this.currentAllowedChannelNames); }
public synchronized final void setCurrentUserData(String userName, boolean isAdmin, Vector channelNames, String paramCurrentChannelName) { this.currentUserName = userName; this.currentUserIsAdmin = isAdmin; this.currentAllowedChannelNames = Util.Helper.quicksort(channelNames); this.currentChannelName = paramCurrentChannelName; if (this.gui != null) { gui.setCurrentUserData(userName, isAdmin, this.currentAllowedChannelNames, this.currentChannelName); }
    public synchronized final void setCurrentUserData(String userName, boolean isAdmin, Vector channelNames) {        this.currentUserName = userName;        this.currentUserIsAdmin = isAdmin;        this.currentAllowedChannelNames = Util.Helper.quicksort(channelNames);        if (this.gui != null) {            gui.setCurrentUserData(userName, isAdmin, this.currentAllowedChannelNames);        }    }