if(log.isDebugEnabled()) {
if(log.isErrorEnabled()) {
  private Collection getLeafNames(ComponentData me) {    ArrayList files = new ArrayList();    if (me.leafCount() < 1)      return null;    LeafComponentData[] leaves = me.getLeafComponents();    for (int i = 0; i < me.leafCount(); i++) {      LeafComponentData leaf = leaves[i];      if (leaf == null)	continue;      if (!leaf.getType().equals(LeafComponentData.FILE)) {        if(log.isDebugEnabled()) {          log.error("Got unknown LeafComponent type: " + leaf.getType());        }	continue;      }      files.add(leaf.getName());    } // end of loop over leaves        return files;  }