if(log.isDebugEnabled()) {
if(log.isInfoEnabled()) {
  public void makeMetricsGraph() {    Collection objectsFromServlet =       getObjectsFromServlet(ClientServletUtil.METRICS_SERVLET);    if (objectsFromServlet == null)      return;    if(log.isDebugEnabled()) {      log.info("Received metrics: " + objectsFromServlet.size());    }    ArrayList names = new ArrayList();    ArrayList data = new ArrayList();    Iterator iter = objectsFromServlet.iterator();    while(iter.hasNext()) {      Object obj = iter.next();      if(obj instanceof String) {	names.add(obj);      }	else if (obj instanceof Integer[]) { 	data.add(obj);      }    }      Window w = 	(Window)new CSMARTMetricsFrame(NamedFrame.METRICS, names, data);      myWindows.add(w);  }