Clear redundant code
@@ -1053,7 +1053,7 @@ public class BrokerService implements Closeable, ZooKeeperCacheListener<Policies
log.info("Configuring proxy-url {} with protocol {}", data.getProxyServiceUrl(),
data.getProxyProtocol());
}
- if (data.getListenerName() != null && StringUtils.isNotBlank(data.getListenerName())) {
+ if (StringUtils.isNotBlank(data.getListenerName())) {
clientBuilder.listenerName(data.getListenerName());
log.info("Configuring listenerName {}", data.getListenerName());
}
