Polishing RSocket module according SF changes

* Fix Checkstyle violations in the `MessageHistoryConfigurer`
This commit is contained in:
Artem Bilan
2019-06-24 16:39:30 -04:00
parent e833a44a38
commit 97aaf95ccb
10 changed files with 129 additions and 130 deletions

View File

@@ -154,8 +154,8 @@ public class MessageHistoryConfigurer implements SmartLifecycle, BeanFactoryAwar
component.setShouldTrack(shouldTrack);
if (shouldTrack) {
this.currentlyTrackedComponents.add(component);
if (this.LOGGER.isInfoEnabled()) {
this.LOGGER.info("Enabling MessageHistory tracking for component '" + componentName + "'");
if (LOGGER.isInfoEnabled()) {
LOGGER.info("Enabling MessageHistory tracking for component '" + componentName + "'");
}
}
}
@@ -217,8 +217,8 @@ public class MessageHistoryConfigurer implements SmartLifecycle, BeanFactoryAwar
if (this.running) {
this.currentlyTrackedComponents.forEach(component -> {
component.setShouldTrack(false);
if (this.LOGGER.isInfoEnabled()) {
this.LOGGER.info("Disabling MessageHistory tracking for component '"
if (LOGGER.isInfoEnabled()) {
LOGGER.info("Disabling MessageHistory tracking for component '"
+ component.getComponentName() + "'");
}
});