From f28c651630e0b1679c7d6522c930e1b9ff847a2e Mon Sep 17 00:00:00 2001 From: buptzouy Date: Mon, 21 Aug 2023 10:03:30 +0900 Subject: [PATCH] remove redundant null check (#313) --- .../easeagent/plugin/api/middleware/ResourceConfig.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugin-api/src/main/java/com/megaease/easeagent/plugin/api/middleware/ResourceConfig.java b/plugin-api/src/main/java/com/megaease/easeagent/plugin/api/middleware/ResourceConfig.java index 22cdcb909..2fb008f29 100644 --- a/plugin-api/src/main/java/com/megaease/easeagent/plugin/api/middleware/ResourceConfig.java +++ b/plugin-api/src/main/java/com/megaease/easeagent/plugin/api/middleware/ResourceConfig.java @@ -56,9 +56,6 @@ private void parseHostAndPorts(boolean needParse) { return; } String[] list = uris.split(","); - if (list == null) { - return; - } for (String uri : list) { uriList.add(uri); int begin = uri.indexOf(":");