logger.debug ("No results returned for Level2MEIConsumption query:  " + query);
if (logger.isDebugEnabled()) logger.debug ("No results returned for Level2MEIConsumption query:  " + query);
  protected boolean[] checkLevel2MeiConsumption() {    // by default, assume false    boolean result[] = {false, false, false, false };    // not implemented yet    result[PKG_POL]= false;    result[SPARES]= false;    String query = (String) fileParameters_.get ("UnitConsumption");    if (query == null) {      logger.error("checkLevel2MEIConsumption() query is null ");      return result;    }    query = substituteOrgName(query, getAgentIdentifier().toString());    Vector qresult = null;    try {      qresult = executeQuery (query);      logger.debug("checkLevel2MEIConsumption() execute query: " +query);      if (qresult.isEmpty()) {        // TODO:  this should be a warn, but we are currently getting one and        // I have asked Gary to look into it.  After that, we should switch back.        logger.debug ("No results returned for Level2MEIConsumption query:  " + query);      } else {        Object row[] = (Object[])qresult.firstElement();        result[AMMO]=convertConsumptionElement(row[AMMO]);        // not implemented yet        //result[PKG_POL]=convertConsumptionElement(row[PKG_POL]);        //result[SPARES]=convertConsumptionElement(row[SPARES]);        result[FUEL]=convertConsumptionElement(row[FUEL]);      }    } catch (Exception ee) {      logger.error ( "in checkLevel2MeiConsumption(), DB query failed.Query= "+query);    }    return result;  }