logger.info("Using comparator " + comparatorClass);
if (logger.isInfoEnabled()) logger.info("Using comparator " + comparatorClass);
  protected ComparatorModule getComparatorModule() {    String comparatorClass = (String) pluginParams.get("COMPARATOR");    if (comparatorClass == null) {      return new RefillComparator(this);    } else {      if (comparatorClass.indexOf('.') == -1) {        comparatorClass = "org.cougaar.logistics.plugin.inventory." + comparatorClass;      }      try {        Class[] paramTypes = {this.getClass()};        Object[] initArgs = {this};        Class cls = Class.forName(comparatorClass);        Constructor constructor = cls.getConstructor(paramTypes);        ComparatorModule comparator = (ComparatorModule) constructor.newInstance(initArgs);        logger.info("Using comparator " + comparatorClass);        return comparator;      } catch (Exception e) {        logger.error(e + " Unable to create Expander instance of " + comparatorClass + ". " +                     "Loading default org.cougaar.logistics.plugin.inventory.RefillComparator");      }    }    return new RefillComparator(this);  }