while (enum.hasMoreElements()) { tmpUsers.addElement(this.userAdministration.getFromUserListByName((String)enum.nextElement())); }
    public void editChannel(String oldName, String newName, boolean paramAllowedForGuest, Vector allowedUserNames) {				if ((oldName != null) && (newName != null) && (newName.compareTo("") != 0)) {					if((this.channelAdministration.getFromChannelListByName(newName)==null) |						 (oldName.compareTo(newName)==0)){					//Foyer darf nicht verndert werden						if (oldName.compareTo(this.channelAdministration.FOYERNAME) != 0) {								Vector tmpUsers=new Vector();								Enumeration enum;                // Channel ist nicht fr Gste, benutze allowedUserNames                if (!paramAllowedForGuest) {                    if (allowedUserNames != null) {                        enum = allowedUserNames.elements();                    } else {                        enum = (                            new Vector()).elements();                    }                    // fge die berechtigten Benutzer hinzu                    while (enum.hasMoreElements()) {												tmpUsers.addElement(this.userAdministration                            .getFromUserListByName((String)enum.nextElement()));										}										this.channelAdministration.editChannel(oldName,newName,paramAllowedForGuest,tmpUsers.elements());                }                // Channel ist fr Gste freigegeben, fge alle Benutzer hinzu								else {									this.channelAdministration.editChannel(oldName,newName,paramAllowedForGuest,this.userAdministration.getUserEnum());								}								this.dataBaseIO.saveToDisk();						}            }        }