if (s == null) { continue; } else if (s.isLoggedIn()) {
if (s != null && s.isLoggedIn()) {
    public List getActiveUsers() {        ArrayList list = new ArrayList();        for (Enumeration e = sessions.elements(); e.hasMoreElements();) {            Session s = (Session) e.nextElement();            if (s == null) {                continue;            } else if (s.isLoggedIn()) {                // returns a session if it is logged in and has not been                // returned before (so for each logged-in user is only added once)                INode node = s.getUserNode();                // we check again because user may have been logged out between the first check                if (node != null && !list.contains(node)) {                    list.add(node);                }            }        }        return list;    }