From cba9c78698bb17665cf17e60a3b1b462ccf7e4ca Mon Sep 17 00:00:00 2001 From: HuangXin Date: Thu, 28 Oct 2021 09:19:12 +0800 Subject: [PATCH] =?UTF-8?q?OCT=20REM:=201.=20=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=BF=85=E8=A6=81=E6=B3=A8=E9=87=8A=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/dispose/ability/impl/PengXinAbilityImpl.java | 2 ++ .../java/com/dispose/config/DeviceLogConfigure.java | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/src/main/java/com/dispose/ability/impl/PengXinAbilityImpl.java b/src/main/java/com/dispose/ability/impl/PengXinAbilityImpl.java index b4c37619..2437a5cc 100644 --- a/src/main/java/com/dispose/ability/impl/PengXinAbilityImpl.java +++ b/src/main/java/com/dispose/ability/impl/PengXinAbilityImpl.java @@ -27,8 +27,10 @@ import javax.servlet.http.HttpServletResponse; import java.util.ArrayList; import java.util.List; + /** * The type Peng xin ability. + * @author xajhu */ @Slf4j public class PengXinAbilityImpl implements DisposeAbility { diff --git a/src/main/java/com/dispose/config/DeviceLogConfigure.java b/src/main/java/com/dispose/config/DeviceLogConfigure.java index 2cd82854..d5099e8f 100644 --- a/src/main/java/com/dispose/config/DeviceLogConfigure.java +++ b/src/main/java/com/dispose/config/DeviceLogConfigure.java @@ -11,14 +11,24 @@ import javax.annotation.PostConstruct; import java.util.Locale; import java.util.Optional; +/** + * The type Device log configure. + * @author xajhu + */ @Getter @Setter @Component @ConfigurationProperties(prefix = "device") @Configuration public class DeviceLogConfigure { + /** + * The Log hosts. + */ private String[] logHosts; + /** + * Init global value. + */ @PostConstruct private void initGlobalValue() { for (String s : Optional.ofNullable(logHosts).orElse(new String[]{""})) {