Browse Source

Fix log message formatting in CandidateComponentsIndexLoader

pull/27832/head
Sam Brannen 3 years ago
parent
commit
ff1485fd8d
  1. 2
      spring-context/src/main/java/org/springframework/context/index/CandidateComponentsIndexLoader.java

2
spring-context/src/main/java/org/springframework/context/index/CandidateComponentsIndexLoader.java

@ -107,7 +107,7 @@ public final class CandidateComponentsIndexLoader { @@ -107,7 +107,7 @@ public final class CandidateComponentsIndexLoader {
result.add(properties);
}
if (logger.isDebugEnabled()) {
logger.debug("Loaded " + result.size() + "] index(es)");
logger.debug("Loaded " + result.size() + " index(es)");
}
int totalCount = result.stream().mapToInt(Properties::size).sum();
return (totalCount > 0 ? new CandidateComponentsIndex(result) : null);

Loading…
Cancel
Save