From ac2f2dc34aa7fefd3a16edf03a534021523e7f2f Mon Sep 17 00:00:00 2001 From: rchen9 Date: Thu, 7 Dec 2023 13:31:14 +0800 Subject: [PATCH] fix: return emptySet install of null --- .../core/business/config/replay/ComparisonSummaryService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arex-web-core/src/main/java/com/arextest/web/core/business/config/replay/ComparisonSummaryService.java b/arex-web-core/src/main/java/com/arextest/web/core/business/config/replay/ComparisonSummaryService.java index 65e4540d..91204c81 100644 --- a/arex-web-core/src/main/java/com/arextest/web/core/business/config/replay/ComparisonSummaryService.java +++ b/arex-web-core/src/main/java/com/arextest/web/core/business/config/replay/ComparisonSummaryService.java @@ -165,8 +165,8 @@ public QueryConfigOfCategoryResponseType queryConfigOfCategory( } // set ignore node set - Set ignoreNodeSet = configLoadService.getIgnoreNodeSet(null); - responseType.setIgnoreNodeSet(ignoreNodeSet); + Set ignoreNodeSet = configLoadService.getIgnoreNodeSet(""); + responseType.setIgnoreNodeSet(ignoreNodeSet == null ? Collections.emptySet() : ignoreNodeSet); if (operationId == null && entryPoint) { return responseType;