if(log.isDebugEnabled()) {
if(log.isWarnEnabled()) {
  public Vector getNodeColors() {    Vector nodeColors = new Vector();    Vector allNodes = vectorOfElements(GrappaConstants.NODE);    for (int i = 0; i < allNodes.size(); i++) {      Node node = (Node)allNodes.elementAt(i);      Attribute attribute = node.getAttribute(COLOR_DETERMINER);      if (attribute == null) {        if(log.isDebugEnabled()) {          log.warn("CSMARTGraph: No Color Determiner Attribute for: " +                   node.getName());        }      } else {	String colorDeterminer = attribute.getStringValue();	if (colorDeterminer == null) {          if(log.isDebugEnabled()) {            log.warn("CSMARTGraph: Color Determiner Attribute is null for: " +                     node.getName());          }        }	else {	  // strip off uid, if it exists	  int index = colorDeterminer.indexOf('=');	  if (index != -1)	    colorDeterminer = colorDeterminer.substring(index+1);	  if (!nodeColors.contains(colorDeterminer)) {	    nodeColors.addElement(colorDeterminer);	    String colorName = 	      node.getAttribute(GrappaConstants.COLOR_ATTR).getStringValue();	    nodeColors.addElement(GrappaColor.getColor(colorName, null));	  }	}      }    }    return nodeColors;  }