code: public static Serializable asMessage(final String text, final Serializable... args) {
  		if (text == null) {
  			return null;
  		} else if (args == null || args.length == 0) {
  			return text;
  		} else {
  			return new Message(text, args);
  		}
  	}
docs: Converts a message String and optional message arguments to a an appropriate format for internationalisation.
  
  @param text the message text.
  @param args the message arguments.
  @return a message in an appropriate format for internationalisation, may be null.