Description
Change the judgment logic:
It is necessary to determine whether the effective is null, rather than newValue.
Because the parameter of the properties.set method is effective.
final String effective = reconfigureProperty(property, newValue); LOG.info("{}: changed property {} to {} (effective {})", name, property, newValue, effective); if (newValue != null) { properties.set(property, effective); } else { properties.unset(property); }
Attachments
Issue Links
- links to