diff --git a/spring-boot-autoconfigure-data-aerospike/src/main/java/org/springframework/boot/autoconfigure/aerospike/AerospikeAutoConfiguration.java b/spring-boot-autoconfigure-data-aerospike/src/main/java/org/springframework/boot/autoconfigure/aerospike/AerospikeAutoConfiguration.java index 01aab0b..85f74f2 100644 --- a/spring-boot-autoconfigure-data-aerospike/src/main/java/org/springframework/boot/autoconfigure/aerospike/AerospikeAutoConfiguration.java +++ b/spring-boot-autoconfigure-data-aerospike/src/main/java/org/springframework/boot/autoconfigure/aerospike/AerospikeAutoConfiguration.java @@ -72,7 +72,6 @@ private void processServerVersionRefreshFrequency(int serverVersionRefreshSecond } } - @Bean(name = "aerospikeClientPolicy") @ConditionalOnMissingBean public ClientPolicy aerospikeClientPolicy(AerospikeProperties properties, diff --git a/spring-boot-autoconfigure-data-aerospike/src/test/java/org/springframework/boot/autoconfigure/data/aerospike/AerospikeTestConfigurations.java b/spring-boot-autoconfigure-data-aerospike/src/test/java/org/springframework/boot/autoconfigure/data/aerospike/AerospikeTestConfigurations.java index 6f4ded0..f771852 100644 --- a/spring-boot-autoconfigure-data-aerospike/src/test/java/org/springframework/boot/autoconfigure/data/aerospike/AerospikeTestConfigurations.java +++ b/spring-boot-autoconfigure-data-aerospike/src/test/java/org/springframework/boot/autoconfigure/data/aerospike/AerospikeTestConfigurations.java @@ -29,7 +29,6 @@ public IAerospikeClient aerospikeClientMock() { when(client.getWritePolicyDefault()).thenReturn(new WritePolicy()); return client; } - } @AutoConfiguration @@ -41,7 +40,6 @@ public ServerVersionSupport aerospikeServerVersionSupportMock() { when(serverVersionSupport.getServerVersion()).thenReturn("5.0.0.0"); return serverVersionSupport; } - } @AutoConfiguration @@ -66,7 +64,6 @@ public static class CustomConversionsConfig { AerospikeCustomConversions myCustomConversions() { return new AerospikeCustomConversions(List.of(new CityToStringConverter())); } - } public static class CityToStringConverter implements Converter {