spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionMessage.java
/**
	 * Factory method to create a new {@link ConditionMessage} with a specific message.
	 * @param message the source message (may be a format string if {@code args} are
	 * specified)
	 * @param args format arguments for the message
	 * @return a new {@link ConditionMessage} instance
	 */
Factory method to create a new  ConditionMessage with a specific message.
@param message the source message (may be a format string if  args are
specified)
@param args format arguments for the message
@return a new  ConditionMessage instance
Factory method to create a new ConditionMessage with a specific message . @param message the source message ( may be a format string if args are specified ) @param args format arguments for the message @return a new ConditionMessage instance
public static ConditionMessage of(String message, Object... args) {
		if (ObjectUtils.isEmpty(args)) {
			return new ConditionMessage(message);
		}
		return new ConditionMessage(String.format(message, args));
	}
public static ConditionMessage of ( String message , Object ... args ) { if ( ObjectUtils . isEmpty ( args ) ) { return new ConditionMessage ( message ) ; } return new ConditionMessage ( String . format ( message , args ) ) ; }
Factory method to create a new {@link ConditionMessage} with a specific message.
Factory method to create a new { @link ConditionMessage } with a specific message .