From 8bd81a796d4ee6a24fee23e9f62bb70d1152974f Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Tue, 7 Dec 2021 09:32:51 +0100 Subject: [PATCH] Fix argument expansion in `RepositoryFactorySupport` logging. Closes #2502 --- .../data/repository/core/support/RepositoryFactorySupport.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java index 06a1a8c55..744d7db1a 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java @@ -372,7 +372,8 @@ public abstract class RepositoryFactorySupport implements BeanClassLoaderAware, repositoryInit.end(); if (logger.isDebugEnabled()) { - logger.debug(LogMessage.format("Finished creation of repository instance for {}.", + logger + .debug(LogMessage.format("Finished creation of repository instance for %s.", repositoryInterface.getName())); }