Polishing.
Align author tags. Move off deprecated code. See gh-676 Original pull request: gh-677
This commit is contained in:
@@ -30,7 +30,8 @@ import org.springframework.context.annotation.Import;
|
||||
* {@link org.springframework.boot.autoconfigure.EnableAutoConfiguration
|
||||
* Auto-configuration} for Vault providing beans for the application context.
|
||||
*
|
||||
* @author Mark Paluch, Rastislav Zlacky
|
||||
* @author Mark Paluch
|
||||
* @author Rastislav Zlacky
|
||||
* @since 2.0
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
|
||||
@@ -41,6 +41,7 @@ class VaultHealthIndicatorConfiguration
|
||||
private final Map<String, VaultOperations> vaultTemplates;
|
||||
|
||||
VaultHealthIndicatorConfiguration(Map<String, VaultOperations> vaultTemplates) {
|
||||
super(VaultHealthIndicator::new);
|
||||
this.vaultTemplates = vaultTemplates;
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,8 @@ import org.springframework.vault.core.ReactiveVaultOperations;
|
||||
/**
|
||||
* Configuration for {@link VaultReactiveHealthIndicator}.
|
||||
*
|
||||
* @author Mark Paluch, Rastislav Zlacky
|
||||
* @author Mark Paluch
|
||||
* @author Rastislav Zlacky
|
||||
* @since 2.0
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@@ -44,6 +45,7 @@ class VaultReactiveHealthIndicatorConfiguration
|
||||
private final Map<String, ReactiveVaultOperations> reactiveVaultTemplates;
|
||||
|
||||
VaultReactiveHealthIndicatorConfiguration(Map<String, ReactiveVaultOperations> reactiveVaultTemplates) {
|
||||
super(VaultReactiveHealthIndicator::new);
|
||||
this.reactiveVaultTemplates = reactiveVaultTemplates;
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,8 @@ import static org.mockito.Mockito.mock;
|
||||
/**
|
||||
* Unit tests for {@link VaultHealthIndicatorAutoConfiguration}.
|
||||
*
|
||||
* @author Mark Paluch, Rastislav Zlacky
|
||||
* @author Mark Paluch
|
||||
* @author Rastislav Zlacky
|
||||
*/
|
||||
class VaultHealthIndicatorAutoConfigurationTests {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user