From 45bb064f7a26ecbb079002872672624285dfba2e Mon Sep 17 00:00:00 2001 From: Jason Song Date: Sat, 14 Dec 2024 14:24:54 +0800 Subject: [PATCH] Apply suggestions from code review --- docs/en/client/java-sdk-user-guide.md | 2 +- docs/zh/client/java-sdk-user-guide.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/client/java-sdk-user-guide.md b/docs/en/client/java-sdk-user-guide.md index cfe93ee4cb4..276d59a27c7 100644 --- a/docs/en/client/java-sdk-user-guide.md +++ b/docs/en/client/java-sdk-user-guide.md @@ -767,7 +767,7 @@ public class AnotherAppConfig {} // only the key from the prioritized loaded appid will be retrieved @Configuration @EnableApolloConfig(value = {"FX.apollo", "application.yml"}, - multipleConfigs = {@MultipleConfig( appid = "ORDER_SERVICE", namespaces = {"ORDER.apollo"})} + multipleConfigs = {@MultipleConfig(appid = "ORDER_SERVICE", namespaces = {"ORDER.apollo"})} ) public class SomeAppConfig {} ``` diff --git a/docs/zh/client/java-sdk-user-guide.md b/docs/zh/client/java-sdk-user-guide.md index 87e4f322e4b..f3314696228 100644 --- a/docs/zh/client/java-sdk-user-guide.md +++ b/docs/zh/client/java-sdk-user-guide.md @@ -735,7 +735,7 @@ public class AnotherAppConfig {} // 新增支持了多appId和对应namespace的加载,注意使用多appId的情况下,key相同的情况,只会取优先加载appId的那一个key @Configuration @EnableApolloConfig(value = {"FX.apollo", "application.yml"}, - multipleConfigs = {@MultipleConfig( appid = "ORDER_SERVICE", namespaces = {"ORDER.apollo"})} + multipleConfigs = {@MultipleConfig(appid = "ORDER_SERVICE", namespaces = {"ORDER.apollo"})} ) public class SomeAppConfig {} ```