logger.error("Unsupported Supply Type");
if (logger.isErrorEnabled()) { logger.error("Unsupported Supply Type"); }
  private Role getRole(String supply_type) {    if (supply_type.equals("Ammunition"))      return Constants.Role.AMMUNITIONPROVIDER;    if (supply_type.equals("BulkPOL"))      return Constants.Role.FUELSUPPLYPROVIDER;    if (supply_type.equals("Consumable"))      return Constants.Role.SPAREPARTSPROVIDER;    if (supply_type.equals("PackagedPOL"))      return Constants.Role.PACKAGEDPOLSUPPLYPROVIDER;    if (supply_type.equals("Subsistence"))      return Constants.Role.SUBSISTENCESUPPLYPROVIDER;    logger.error("Unsupported Supply Type");    return null;  }