diff --git a/documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/io/hazelcast.adoc b/documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/io/hazelcast.adoc index 43b41a3dcc4..11e7989b709 100644 --- a/documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/io/hazelcast.adoc +++ b/documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/io/hazelcast.adoc @@ -12,7 +12,7 @@ Spring Boot first attempts to create a client by checking the following configur * A `hazelcast-client.yaml` (or `hazelcast-client.yml`) in the working directory or at the root of the classpath. If a client can not be created, Spring Boot attempts to configure an embedded server. -If you define a javadoc:com.hazelcast.config.Config[] bean, Spring Boot uses that. +If you define a javadoc:com.hazelcast.config.Config[] bean, Spring Boot uses it at is. If your configuration defines an instance name, Spring Boot tries to locate an existing instance rather than creating a new one. You could also specify the Hazelcast configuration file to use through configuration, as shown in the following example: diff --git a/module/spring-boot-hazelcast/src/main/java/org/springframework/boot/hazelcast/autoconfigure/HazelcastConfigCustomizer.java b/module/spring-boot-hazelcast/src/main/java/org/springframework/boot/hazelcast/autoconfigure/HazelcastConfigCustomizer.java index 7b0b2ab6c5c..2be170823dc 100644 --- a/module/spring-boot-hazelcast/src/main/java/org/springframework/boot/hazelcast/autoconfigure/HazelcastConfigCustomizer.java +++ b/module/spring-boot-hazelcast/src/main/java/org/springframework/boot/hazelcast/autoconfigure/HazelcastConfigCustomizer.java @@ -19,8 +19,8 @@ package org.springframework.boot.hazelcast.autoconfigure; import com.hazelcast.config.Config; /** - * Callback interface that can be implemented by beans wishing to customize the Hazelcast - * server {@link Config configuration}. + * Callback interface that can be implemented by beans wishing to customize the + * auto-configured Hazelcast server {@link Config configuration}. * * @author Jaromir Hamala * @author Stephane Nicoll