if (leaf.getType() != LeafComponentData.FILE) {
if (!leaf.getType().equals(LeafComponentData.FILE)) {
  private void writeLeafData(File configDir, ComponentData me) throws IOException {    if (me.leafCount() < 1)      return;    LeafComponentData[] leaves = me.getLeafComponents();    for (int i = 0; i < me.leafCount(); i++) {      LeafComponentData leaf = leaves[i];      if (leaf == null)	continue;      if (leaf.getType() != LeafComponentData.FILE) {	System.err.println("Got unknown LeafComponent type: " + leaf.getType());	continue;      }//       System.err.println("Writing leaf data file: " + leaf.getName());      PrintWriter writer = new PrintWriter(new FileWriter(new File(configDir, leaf.getName())));      try {	writer.println(leaf.getValue().toString());      } catch (Exception e) {	System.out.println("Error writing config file: " + e);      }      finally {	writer.close();      }    } // end of loop over leaves  } // end of writeLeafData  