Fix placeholders in log statements.
The log statement incorrectly used String.format(..) placecholders (e.g. %s) rather than SLF4J placeholders (e.g. {}).
Resolves gh-24.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user