spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionMessage.java
/**
	 * Factory method to create a new {@link ConditionMessage} comprised of the specified
	 * messages.
	 * @param messages the source messages (may be {@code null})
	 * @return a new {@link ConditionMessage} instance
	 */
Factory method to create a new  ConditionMessage comprised of the specified
messages.
@param messages the source messages (may be  null)
@return a new  ConditionMessage instance
Factory method to create a new ConditionMessage comprised of the specified messages . @param messages the source messages ( may be null ) @return a new ConditionMessage instance
public static ConditionMessage of(Collection<? extends ConditionMessage> messages) {
		ConditionMessage result = new ConditionMessage();
		if (messages != null) {
			for (ConditionMessage message : messages) {
				result = new ConditionMessage(result, message.toString());
			}
		}
		return result;
	}
public static ConditionMessage of ( Collection < ? extends ConditionMessage > messages ) { ConditionMessage result = new ConditionMessage ( ) ; if ( messages != null ) { for ( ConditionMessage message : messages ) { result = new ConditionMessage ( result , message . toString ( ) ) ; } } return result ; }
Factory method to create a new {@link ConditionMessage} comprised of the specified
 messages.
Factory method to create a new { @link ConditionMessage } comprised of the specified messages .