diff --git a/spring-geode/src/main/java/org/springframework/geode/config/annotation/LocatorsConfiguration.java b/spring-geode/src/main/java/org/springframework/geode/config/annotation/LocatorsConfiguration.java index f1196513..4af42d59 100644 --- a/spring-geode/src/main/java/org/springframework/geode/config/annotation/LocatorsConfiguration.java +++ b/spring-geode/src/main/java/org/springframework/geode/config/annotation/LocatorsConfiguration.java @@ -122,7 +122,7 @@ public class LocatorsConfiguration extends AbstractAnnotationConfigSupport imple getLocators().ifPresent(locators -> { if (logger.isWarnEnabled()) { - logger.warn("The '%s' property was configured [%s];" + logger.warn("The '{}' property was configured [{}];" + " however, this value does not have any effect for ClientCache instances", LOCATORS_PROPERTY, locators); } @@ -130,7 +130,7 @@ public class LocatorsConfiguration extends AbstractAnnotationConfigSupport imple getRemoteLocators().ifPresent(remoteLocators -> { if (logger.isWarnEnabled()) { - logger.warn("The '%s' property was configured [%s];" + logger.warn("The '{}' property was configured [{}];" + " however, this value does not have any effect for ClientCache instances", REMOTE_LOCATORS_PROPERTY, remoteLocators); }