From 508905884a2a4781c5a370c75cba284429d2dd6e Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 12 May 2016 16:43:50 +0100 Subject: [PATCH] Fix String.format call in PropertiesConfigurationFactory Closes gh-5921 --- .../boot/bind/PropertiesConfigurationFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot/src/main/java/org/springframework/boot/bind/PropertiesConfigurationFactory.java b/spring-boot/src/main/java/org/springframework/boot/bind/PropertiesConfigurationFactory.java index acf2f006c1..6e328126de 100644 --- a/spring-boot/src/main/java/org/springframework/boot/bind/PropertiesConfigurationFactory.java +++ b/spring-boot/src/main/java/org/springframework/boot/bind/PropertiesConfigurationFactory.java @@ -231,7 +231,7 @@ public class PropertiesConfigurationFactory try { if (this.logger.isTraceEnabled()) { if (this.properties != null) { - this.logger.trace(String.format("Properties:%n%s" + this.properties)); + this.logger.trace(String.format("Properties:%n%s", this.properties)); } else { this.logger.trace("Property Sources: " + this.propertySources);