From b55b42cc0e058a2eaa38b510c3e31d1cd60fe329 Mon Sep 17 00:00:00 2001 From: tianqingzhao <985391294@qq.com> Date: Wed, 26 May 2021 10:06:30 +0800 Subject: [PATCH] Remove any extra curly braces from the @Value annotation (#5838) --- .../main/java/com/alibaba/nacos/auth/common/AuthConfigs.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/src/main/java/com/alibaba/nacos/auth/common/AuthConfigs.java b/auth/src/main/java/com/alibaba/nacos/auth/common/AuthConfigs.java index cfc9458cf..939c1172c 100644 --- a/auth/src/main/java/com/alibaba/nacos/auth/common/AuthConfigs.java +++ b/auth/src/main/java/com/alibaba/nacos/auth/common/AuthConfigs.java @@ -65,10 +65,10 @@ public class AuthConfigs { @Value("${nacos.core.auth.server.identity.key:}") private String serverIdentityKey; - @Value(("${nacos.core.auth.server.identity.value:}")) + @Value("${nacos.core.auth.server.identity.value:}") private String serverIdentityValue; - @Value(("${nacos.core.auth.enable.userAgentAuthWhite:true}")) + @Value("${nacos.core.auth.enable.userAgentAuthWhite:true}") private boolean enableUserAgentAuthWhite; public byte[] getSecretKeyBytes() {