if ( changedOptions.size() > 0 ) {
if ( changedOptions.size() > 0 && client != null && password != null ) {
    public void loadOptions(Client client, String password) {      ParsedXML root = null;      InputStream is = null;            try {        is = new FileInputStream(new File(GAME_OPTIONS_FILE_NAME));      } catch (FileNotFoundException e) {        return;      }      try {        root = TinyParser.parseXML(is);      } catch (ParseException e) {        System.out.println("Error parsing game options xml file.");         e.printStackTrace(System.out);      }          Enumeration rootChildren = root.elements();      ParsedXML optionsNode = (ParsedXML)rootChildren.nextElement();            if ( optionsNode.getName().equals("options") ) {        Enumeration children = optionsNode.elements();        Vector changedOptions = new Vector();                while (children.hasMoreElements()) {          GameOption option = parseOptionNode((ParsedXML)children.nextElement());                    if ( null != option )            changedOptions.addElement(option);        }                 if ( changedOptions.size() > 0 ) {          client.sendGameOptions(password, changedOptions);        }      } else {        System.out.println("Root node of game options file is incorrectly named. Name should be 'options' but name is '" + optionsNode.getName() + "'");      }      }