Skip to content

Commit

Permalink
fix: return emptySet install of null
Browse files Browse the repository at this point in the history
  • Loading branch information
rchen9 committed Dec 7, 2023
1 parent b11a33d commit ac2f2dc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ public QueryConfigOfCategoryResponseType queryConfigOfCategory(
}

// set ignore node set
Set<String> ignoreNodeSet = configLoadService.getIgnoreNodeSet(null);
responseType.setIgnoreNodeSet(ignoreNodeSet);
Set<String> ignoreNodeSet = configLoadService.getIgnoreNodeSet("");
responseType.setIgnoreNodeSet(ignoreNodeSet == null ? Collections.emptySet() : ignoreNodeSet);

if (operationId == null && entryPoint) {
return responseType;
Expand Down

0 comments on commit ac2f2dc

Please sign in to comment.