Skip to content

Commit 1c0fa5b

Browse files
author
Seokjae Lee
committed
docs: clarify Javadoc of Customizer interfaces about overriding behavior
The previous wording suggested that customizations always retain default auto-configuration. Rephrased to indicate that configuration can be fine-tuned, which more accurately reflects that some builder methods may override or replace defaults. Signed-off-by: Seokjae Lee <[email protected]>
1 parent c910b59 commit 1c0fa5b

File tree

21 files changed

+30
-36
lines changed

21 files changed

+30
-36
lines changed

module/spring-boot-activemq/src/main/java/org/springframework/boot/activemq/autoconfigure/ActiveMQConnectionFactoryCustomizer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
/**
2222
* Callback interface that can be implemented by beans wishing to customize the
23-
* {@link ActiveMQConnectionFactory} whilst retaining default auto-configuration.
23+
* {@link ActiveMQConnectionFactory} to fine-tune its auto-configuration.
2424
*
2525
* @author Stephane Nicoll
2626
* @since 4.0.0

module/spring-boot-batch/src/main/java/org/springframework/boot/batch/autoconfigure/BatchConversionServiceCustomizer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
/**
2222
* Callback interface that can be implemented by beans wishing to customize the
23-
* {@link ConfigurableConversionService} that is used by the batch infrastructure while
24-
* retaining its default auto-configuration.
23+
* {@link ConfigurableConversionService} that is used by the batch infrastructure
24+
* to fine-tune its auto-configuration.
2525
*
2626
* @author Claudio Nave
2727
* @since 4.0.0

module/spring-boot-cassandra/src/main/java/org/springframework/boot/cassandra/autoconfigure/CqlSessionBuilderCustomizer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
/**
2323
* Callback interface that can be implemented by beans wishing to customize the
24-
* {@link CqlSession} through a {@link CqlSessionBuilder} whilst retaining default
25-
* auto-configuration.
24+
* {@link CqlSession} through a {@link CqlSessionBuilder} to fine-tune
25+
* its auto-configuration.
2626
*
2727
* @author Stephane Nicoll
2828
* @since 4.0.0

module/spring-boot-cassandra/src/main/java/org/springframework/boot/cassandra/autoconfigure/DriverConfigLoaderBuilderCustomizer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
/**
2323
* Callback interface that can be implemented by beans wishing to customize the
24-
* {@link DriverConfigLoader} through a {@link DriverConfigLoaderBuilderCustomizer} whilst
25-
* retaining default auto-configuration.
24+
* {@link DriverConfigLoader} through a {@link DriverConfigLoaderBuilderCustomizer}
25+
* to fine-tune its auto-configuration.
2626
*
2727
* @author Stephane Nicoll
2828
* @since 4.0.0

module/spring-boot-couchbase/src/main/java/org/springframework/boot/couchbase/autoconfigure/ClusterEnvironmentBuilderCustomizer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
/**
2323
* Callback interface that can be implemented by beans wishing to customize the
24-
* {@link ClusterEnvironment} through a {@link Builder ClusterEnvironment.Builder} whilst
25-
* retaining default auto-configuration.
24+
* {@link ClusterEnvironment} through a {@link Builder ClusterEnvironment.Builder}
25+
* to fine-tune its auto-configuration.
2626
*
2727
* @author Stephane Nicoll
2828
* @since 4.0.0

module/spring-boot-data-redis/src/main/java/org/springframework/boot/data/redis/autoconfigure/ClientResourcesBuilderCustomizer.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121

2222
/**
2323
* Callback interface that can be implemented by beans wishing to customize the
24-
* {@link ClientResources} through a {@link Builder} whilst retaining default
25-
* auto-configuration.
24+
* {@link ClientResources} through a {@link Builder} to fine-tune its auto-configuration.
2625
*
2726
* @author Stephane Nicoll
2827
* @since 4.0.0

module/spring-boot-data-redis/src/main/java/org/springframework/boot/data/redis/autoconfigure/JedisClientConfigurationBuilderCustomizer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
/**
2323
* Callback interface that can be implemented by beans wishing to customize the
2424
* {@link JedisClientConfiguration} through a {@link JedisClientConfigurationBuilder
25-
* JedisClientConfiguration.JedisClientConfigurationBuilder} whilst retaining default
26-
* auto-configuration.
25+
* JedisClientConfiguration.JedisClientConfigurationBuilder} to fine-tune
26+
* its auto-configuration.
2727
*
2828
* @author Mark Paluch
2929
* @since 4.0.0

module/spring-boot-data-redis/src/main/java/org/springframework/boot/data/redis/autoconfigure/LettuceClientConfigurationBuilderCustomizer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
/**
2323
* Callback interface that can be implemented by beans wishing to customize the
2424
* {@link LettuceClientConfiguration} through a {@link LettuceClientConfigurationBuilder
25-
* LettuceClientConfiguration.LettuceClientConfigurationBuilder} whilst retaining default
26-
* auto-configuration. To customize only the
25+
* LettuceClientConfiguration.LettuceClientConfigurationBuilder} to fine-tune
26+
* its auto-configuration. To customize only the
2727
* {@link LettuceClientConfiguration#getClientOptions() client options} of the
2828
* configuration, use {@link LettuceClientOptionsBuilderCustomizer} instead.
2929
*

module/spring-boot-data-redis/src/main/java/org/springframework/boot/data/redis/autoconfigure/LettuceClientOptionsBuilderCustomizer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
/**
2525
* Callback interface that can be implemented by beans wishing to customize the
2626
* {@link ClientOptions} of the {@link LettuceClientConfiguration} through a
27-
* {@link Builder} whilst retaining default auto-configuration. To customize the entire
27+
* {@link Builder} to fine-tune its auto-configuration. To customize the entire
2828
* configuration, use {@link LettuceClientConfigurationBuilderCustomizer} instead.
2929
*
3030
* @author Soohyun Lim

module/spring-boot-elasticsearch/src/main/java/org/springframework/boot/elasticsearch/autoconfigure/Rest5ClientBuilderCustomizer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727

2828
/**
2929
* Callback interface that can be implemented by beans wishing to further customize the
30-
* {@link Rest5Client} through a {@link Rest5ClientBuilder} whilst retaining default
31-
* auto-configuration.
30+
* {@link Rest5Client} through a {@link Rest5ClientBuilder} to fine-tune
31+
* its auto-configuration.
3232
*
3333
* @author Brian Clozel
3434
* @author Vedran Pavic

0 commit comments

Comments
 (0)