Merge pull request #33569 from Artur-

* pr/33569:
  Polish 'Fix typo in LocalDevToolsAutoConfiguration logging'
  Fix typo in LocalDevToolsAutoConfiguration logging

Closes gh-33569
This commit is contained in:
Phillip Webb 2022-12-21 22:39:17 -08:00
commit b7eb7f214b

View File

@ -211,7 +211,7 @@ public class LocalDevToolsAutoConfiguration {
public void onApplicationEvent(ClassPathChangedEvent event) {
if (event.isRestartRequired()) {
logger.info(LogMessage.format("Restarting due to %s", event.overview()));
logger.debug(LogMessage.of(() -> "Change set: %s" + event.getChangeSet()));
logger.debug(LogMessage.format("Change set: %s", event.getChangeSet()));
Restarter.getInstance().restart(new FileWatchingFailureHandler(this.fileSystemWatcherFactory));
}
}