public synchronized User getUser(int uid) { final User user = (User)users.get(uid); if(user == null) LOG.debug("user with uid " + uid + " not found"); return user;
public synchronized User getUser(String name) { User user; for (Iterator i = users.values().iterator(); i.hasNext();) { user = (User) i.next(); if (user.getName().equals(name)) return user; } LOG.debug("user " + name + " not found"); return null;
	public synchronized User getUser(int uid) {		final User user = (User)users.get(uid);		if(user == null)			LOG.debug("user with uid " + uid + " not found");		return user;	}