非空
This commit is contained in:
@@ -162,7 +162,7 @@ public abstract class MessageAgent implements Resourcable {
|
|||||||
}
|
}
|
||||||
this.startMessageClientConsumers();
|
this.startMessageClientConsumers();
|
||||||
List<String> topics = new ArrayList<>();
|
List<String> topics = new ArrayList<>();
|
||||||
if (this.httpMessageClient.isEmpty()) {
|
if (!this.httpMessageClient.isEmpty()) {
|
||||||
topics.addAll(this.httpMessageClient.getTopics());
|
topics.addAll(this.httpMessageClient.getTopics());
|
||||||
}
|
}
|
||||||
if (!this.sncpMessageClient.isEmpty()) {
|
if (!this.sncpMessageClient.isEmpty()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user