Merge branch '1.4.x' into 1.5.x

This commit is contained in:
Stephane Nicoll
2016-10-02 11:08:33 +02:00
11 changed files with 26 additions and 59 deletions

View File

@@ -24,7 +24,7 @@ import org.springframework.context.annotation.ConditionContext;
import org.springframework.core.type.AnnotatedTypeMetadata;
/**
* {@link Condition} that checks that a {@link Restarter} is available an initialized.
* {@link Condition} that checks that a {@link Restarter} is available and initialized.
*
* @author Phillip Webb
* @see ConditionalOnInitializedRestarter
@@ -35,7 +35,7 @@ class OnInitializedRestarterCondition extends SpringBootCondition {
public ConditionOutcome getMatchOutcome(ConditionContext context,
AnnotatedTypeMetadata metadata) {
ConditionMessage.Builder message = ConditionMessage
.forCondition("Initializer Restarter Condition");
.forCondition("Initialized Restarter Condition");
Restarter restarter = getRestarter();
if (restarter == null) {
return ConditionOutcome.noMatch(message.because("unavailable"));