Browse Source

多余判断

master
yechuan 1 year ago
parent
commit
6fa953ab0a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/src/main/java/work/xuye/source/handler/SourceHandler.java

+ 1
- 1
source/src/main/java/work/xuye/source/handler/SourceHandler.java View File

@@ -127,7 +127,7 @@ public class SourceHandler {
if (!ObjectUtils.isEmpty(nextNodeMessage)) {
nextNodeMessage.forEach((k, v) -> {
Set set = v.getHeaders().get(MessageConstants.OTHER_CACHE_KEY_SET, Set.class);
if (!ObjectUtils.isEmpty(set) && !ObjectUtils.isEmpty(otherCacheKeySet)) {
if (!ObjectUtils.isEmpty(set)) {
set.addAll(otherCacheKeySet);
v.getHeaders().put(MessageConstants.OTHER_CACHE_KEY_SET, set);
}


Loading…
Cancel
Save