private static String messageFormat(String message, Object... arguments) {
    return (arguments == null ? message : MessageFormat.format(message, arguments));
  }
private static String messageFormat ( String message , Object ... arguments ) { return ( arguments == null ? message : MessageFormat . format ( message , arguments ) ) ; }
Formats the specified {@link String message} containing possible placeholders as defined by {@link MessageFormat}.

@param message {@link String} containing the message to format.
@param arguments array of {@link Object arguments} used when formatting the {@link String message}.
@return the {@link String message} formatted with the {@link Object arguments}.
@see java.text.MessageFormat#format(String, Object...)