if (Configuration.DEBUG)
  public static String getFormattedString(String key, Object args)  {    MessageFormat mf = (MessageFormat) CACHED_FORMATS.get(key);    if (mf == null)      {        String formatString = getString(key);        if (formatString.startsWith("!"))          return constructMessage(key, args);          mf = new MessageFormat(formatString);          CACHED_FORMATS.put(key, mf);      }    // if the argument is not an array, then build one consisting of the    // sole argument before passing it to the format() method    try      {        if (args instanceof Object[])          return mf.format(args);        return mf.format(new Object[] { args });      }    catch (IllegalArgumentException x)      {        log.fine("Exception while rendering a message format keyed by ["                 + key + "]: " + mf.toPattern());        return constructMessage(mf.toPattern(), args);      }  }