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
b3e9a064
Commit
b3e9a064
authored
Oct 30, 2019
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polish
parent
7f509bf8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
ReactiveHealthContributorRegistryReactiveHealthIndicatorRegistryAdapter.java
...ibutorRegistryReactiveHealthIndicatorRegistryAdapter.java
+2
-4
NamedContributorsMapAdapter.java
...work/boot/actuate/health/NamedContributorsMapAdapter.java
+2
-2
No files found.
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/health/ReactiveHealthContributorRegistryReactiveHealthIndicatorRegistryAdapter.java
View file @
b3e9a064
...
...
@@ -19,8 +19,6 @@ package org.springframework.boot.actuate.autoconfigure.health;
import
java.util.LinkedHashMap
;
import
java.util.Map
;
import
org.springframework.boot.actuate.health.HealthContributorRegistry
;
import
org.springframework.boot.actuate.health.HealthIndicatorRegistry
;
import
org.springframework.boot.actuate.health.NamedContributor
;
import
org.springframework.boot.actuate.health.ReactiveHealthContributor
;
import
org.springframework.boot.actuate.health.ReactiveHealthContributorRegistry
;
...
...
@@ -29,8 +27,8 @@ import org.springframework.boot.actuate.health.ReactiveHealthIndicatorRegistry;
import
org.springframework.util.Assert
;
/**
* Adapter class to convert a {@link HealthContributorRegistry} to a legacy
* {@link HealthIndicatorRegistry}.
* Adapter class to convert a {@link
Reactive
HealthContributorRegistry} to a legacy
* {@link
Reactive
HealthIndicatorRegistry}.
*
* @author Phillip Webb
*/
...
...
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/NamedContributorsMapAdapter.java
View file @
b3e9a064
...
...
@@ -36,9 +36,9 @@ import org.springframework.util.Assert;
*/
abstract
class
NamedContributorsMapAdapter
<
V
,
C
>
implements
NamedContributors
<
C
>
{
private
Map
<
String
,
V
>
map
;
private
final
Map
<
String
,
V
>
map
;
private
Function
<
V
,
?
extends
C
>
valueAdapter
;
private
final
Function
<
V
,
?
extends
C
>
valueAdapter
;
NamedContributorsMapAdapter
(
Map
<
String
,
V
>
map
,
Function
<
V
,
?
extends
C
>
valueAdapter
)
{
Assert
.
notNull
(
map
,
"Map must not be null"
);
...
...
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