Commit f3c43e5e authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #6966 from izeye:unused-20160921

* pr/6966:
  Remove unused
parents 120ece72 eb7c0e4d
...@@ -44,15 +44,6 @@ abstract class OnEnabledEndpointElementCondition extends SpringBootCondition { ...@@ -44,15 +44,6 @@ abstract class OnEnabledEndpointElementCondition extends SpringBootCondition {
this.annotationType = annotationType; this.annotationType = annotationType;
} }
protected String getEndpointElementOutcomeMessage(String name, boolean match) {
return "The endpoint element " + name + " is " + (match ? "enabled" : "disabled");
}
protected String getDefaultEndpointElementOutcomeMessage(boolean match) {
return "All default endpoint elements are " + (match ? "enabled" : "disabled")
+ " by default";
}
@Override @Override
public ConditionOutcome getMatchOutcome(ConditionContext context, public ConditionOutcome getMatchOutcome(ConditionContext context,
AnnotatedTypeMetadata metadata) { AnnotatedTypeMetadata metadata) {
......
...@@ -29,15 +29,4 @@ class OnEnabledHealthIndicatorCondition extends OnEnabledEndpointElementConditio ...@@ -29,15 +29,4 @@ class OnEnabledHealthIndicatorCondition extends OnEnabledEndpointElementConditio
super("management.health.", ConditionalOnEnabledHealthIndicator.class); super("management.health.", ConditionalOnEnabledHealthIndicator.class);
} }
@Override
protected String getEndpointElementOutcomeMessage(String name, boolean match) {
return "The health indicator " + name + " is " + (match ? "enabled" : "disabled");
}
@Override
protected String getDefaultEndpointElementOutcomeMessage(boolean match) {
return "All default health indicators are " + (match ? "enabled" : "disabled")
+ " by default";
}
} }
...@@ -29,15 +29,4 @@ class OnEnabledInfoContributorCondition extends OnEnabledEndpointElementConditio ...@@ -29,15 +29,4 @@ class OnEnabledInfoContributorCondition extends OnEnabledEndpointElementConditio
super("management.info.", ConditionalOnEnabledInfoContributor.class); super("management.info.", ConditionalOnEnabledInfoContributor.class);
} }
@Override
protected String getEndpointElementOutcomeMessage(String name, boolean match) {
return "The info contributor " + name + " is " + (match ? "enabled" : "disabled");
}
@Override
protected String getDefaultEndpointElementOutcomeMessage(boolean match) {
return "All default info contributors are " + (match ? "enabled" : "disabled")
+ " by default";
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment