Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
f3c43e5e
Commit
f3c43e5e
authored
Oct 24, 2016
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6966 from izeye:unused-20160921
* pr/6966: Remove unused
parents
120ece72
eb7c0e4d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
31 deletions
+0
-31
OnEnabledEndpointElementCondition.java
...uate/autoconfigure/OnEnabledEndpointElementCondition.java
+0
-9
OnEnabledHealthIndicatorCondition.java
...uate/autoconfigure/OnEnabledHealthIndicatorCondition.java
+0
-11
OnEnabledInfoContributorCondition.java
...uate/autoconfigure/OnEnabledInfoContributorCondition.java
+0
-11
No files found.
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/OnEnabledEndpointElementCondition.java
View file @
f3c43e5e
...
@@ -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
)
{
...
...
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/OnEnabledHealthIndicatorCondition.java
View file @
f3c43e5e
...
@@ -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"
;
}
}
}
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/OnEnabledInfoContributorCondition.java
View file @
f3c43e5e
...
@@ -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"
;
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment