diff --git a/designer-realize/src/main/java/com/fanruan/boot/adaptation/DesignServerSupportModule.java b/designer-realize/src/main/java/com/fanruan/boot/adaptation/DesignServerSupportModule.java index 5b73aebc68..985bcc8e22 100644 --- a/designer-realize/src/main/java/com/fanruan/boot/adaptation/DesignServerSupportModule.java +++ b/designer-realize/src/main/java/com/fanruan/boot/adaptation/DesignServerSupportModule.java @@ -37,7 +37,7 @@ import static com.fr.decision.authority.base.constant.ReportAuthorityItems.ENTER * * @author Anner * @since 11.0 - * Created on 2024/10/15 + * Created on 2024/10/15 */ public class DesignServerSupportModule { private final static Set SUPPORT_MODULE = Sets.newHashSet( @@ -70,8 +70,7 @@ public class DesignServerSupportModule { // 安全管理 SECURITY_ID, // 地图管理 - MAP_ID - ); + MAP_ID); /** * 注册一下支持展示的模块 @@ -99,10 +98,11 @@ public class DesignServerSupportModule { @Override public void onStart() { PortalModuleManager.allModules().values().stream() - .filter(m -> !StringUtils.equals(m.getParentID(), PortalAuthorityItems.PORTAL_ROOT_ID)).map(PortalModule::getId) + .filter(m -> !StringUtils.equals(m.getParentID(), PortalAuthorityItems.PORTAL_ROOT_ID)) + .map(PortalModule::getId) .filter(m -> !SUPPORT_MODULE.contains(m)) .forEach(PortalModuleManager::unregister); } }); } -} +} \ No newline at end of file