Skip to content

Commit f3c43e5

Browse files
committed
Merge pull request #6966 from izeye:unused-20160921
* pr/6966: Remove unused
2 parents 120ece7 + eb7c0e4 commit f3c43e5

File tree

3 files changed

+0
-31
lines changed

3 files changed

+0
-31
lines changed

spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/OnEnabledEndpointElementCondition.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,6 @@ abstract class OnEnabledEndpointElementCondition extends SpringBootCondition {
4444
this.annotationType = annotationType;
4545
}
4646

47-
protected String getEndpointElementOutcomeMessage(String name, boolean match) {
48-
return "The endpoint element " + name + " is " + (match ? "enabled" : "disabled");
49-
}
50-
51-
protected String getDefaultEndpointElementOutcomeMessage(boolean match) {
52-
return "All default endpoint elements are " + (match ? "enabled" : "disabled")
53-
+ " by default";
54-
}
55-
5647
@Override
5748
public ConditionOutcome getMatchOutcome(ConditionContext context,
5849
AnnotatedTypeMetadata metadata) {

spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/OnEnabledHealthIndicatorCondition.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,4 @@ class OnEnabledHealthIndicatorCondition extends OnEnabledEndpointElementConditio
2929
super("management.health.", ConditionalOnEnabledHealthIndicator.class);
3030
}
3131

32-
@Override
33-
protected String getEndpointElementOutcomeMessage(String name, boolean match) {
34-
return "The health indicator " + name + " is " + (match ? "enabled" : "disabled");
35-
}
36-
37-
@Override
38-
protected String getDefaultEndpointElementOutcomeMessage(boolean match) {
39-
return "All default health indicators are " + (match ? "enabled" : "disabled")
40-
+ " by default";
41-
}
42-
4332
}

spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/OnEnabledInfoContributorCondition.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,4 @@ class OnEnabledInfoContributorCondition extends OnEnabledEndpointElementConditio
2929
super("management.info.", ConditionalOnEnabledInfoContributor.class);
3030
}
3131

32-
@Override
33-
protected String getEndpointElementOutcomeMessage(String name, boolean match) {
34-
return "The info contributor " + name + " is " + (match ? "enabled" : "disabled");
35-
}
36-
37-
@Override
38-
protected String getDefaultEndpointElementOutcomeMessage(boolean match) {
39-
return "All default info contributors are " + (match ? "enabled" : "disabled")
40-
+ " by default";
41-
}
42-
4332
}

0 commit comments

Comments
 (0)