Fix log message formatting in CandidateComponentsIndexLoader

This commit is contained in:
Sam Brannen
2021-11-05 10:31:10 +01:00
parent 1b4438caac
commit ff1485fd8d

View File

@@ -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);