From 43368e2537717730336b2e25e84e79b3695b1a1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=AA=E7=94=9F=E9=94=8B?= <1083178465@qq.com> Date: Mon, 21 Jun 2021 18:03:49 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8D=E4=B8=8D=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E7=9A=84=E6=83=85=E5=86=B5=E4=B8=8B=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E6=8A=A5UnsupportedOperationException=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../starblues/factory/process/pipe/PluginInfoContainers.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/springboot-plugin-framework/src/main/java/com/gitee/starblues/factory/process/pipe/PluginInfoContainers.java b/springboot-plugin-framework/src/main/java/com/gitee/starblues/factory/process/pipe/PluginInfoContainers.java index 5afe94e..4c3d2b9 100644 --- a/springboot-plugin-framework/src/main/java/com/gitee/starblues/factory/process/pipe/PluginInfoContainers.java +++ b/springboot-plugin-framework/src/main/java/com/gitee/starblues/factory/process/pipe/PluginInfoContainers.java @@ -34,7 +34,7 @@ public class PluginInfoContainers { static public List getPluginApplicationContexts() { Collection values = PLUGIN_APPLICATION_CONTEXTS.values(); if(values.isEmpty()){ - return Collections.emptyList(); + return new ArrayList<>(); } return new ArrayList<>(values); } -- Gitee