public String getMessage(String code, Object[] args) { return messagesource.getMessage(code, args, localegetter == null ? Locale .getDefault() : localegetter.get());
public String getMessage(String[] codes, Object[] args) { DefaultMessageSourceResolvable dmsr = new DefaultMessageSourceResolvable( codes, args); Locale locale = localegetter == null ? Locale.getDefault() : localegetter.get(); try { return messagesource.getMessage(dmsr, locale); } catch (Exception nsme) { Logger.log.warn("Failed to look up message " + codes[0] + ", falling back to default", nsme); try { if (defaultmessagekey != null) { return messagesource.getMessage(defaultmessagekey, null, locale); } } catch (Exception nsme2) { } } return defaultmessage;
  public String getMessage(String code, Object[] args) {    return messagesource.getMessage(code, args, localegetter == null ? Locale        .getDefault()        : localegetter.get());  }