From f93117a210814a964b287917dedf0814d852b366 Mon Sep 17 00:00:00 2001 From: smallchill Date: Tue, 28 Apr 2020 11:02:38 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=EF=BC=8C=E5=8A=A0=E4=B8=8Afinal=E5=85=B3=E9=94=AE=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/springblade/resource/builder/oss/OssBuilder.java | 4 ++-- .../java/org/springblade/resource/builder/sms/SmsBuilder.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/blade-ops/blade-resource/src/main/java/org/springblade/resource/builder/oss/OssBuilder.java b/blade-ops/blade-resource/src/main/java/org/springblade/resource/builder/oss/OssBuilder.java index cb23bac2..8283ceb4 100644 --- a/blade-ops/blade-resource/src/main/java/org/springblade/resource/builder/oss/OssBuilder.java +++ b/blade-ops/blade-resource/src/main/java/org/springblade/resource/builder/oss/OssBuilder.java @@ -60,12 +60,12 @@ public class OssBuilder { /** * OssTemplate配置缓存池 */ - private Map templatePool = new ConcurrentHashMap<>(); + private final Map templatePool = new ConcurrentHashMap<>(); /** * oss配置缓存池 */ - private Map ossPool = new ConcurrentHashMap<>(); + private final Map ossPool = new ConcurrentHashMap<>(); /** * 获取template diff --git a/blade-ops/blade-resource/src/main/java/org/springblade/resource/builder/sms/SmsBuilder.java b/blade-ops/blade-resource/src/main/java/org/springblade/resource/builder/sms/SmsBuilder.java index 5bf665e8..d2e59db0 100644 --- a/blade-ops/blade-resource/src/main/java/org/springblade/resource/builder/sms/SmsBuilder.java +++ b/blade-ops/blade-resource/src/main/java/org/springblade/resource/builder/sms/SmsBuilder.java @@ -62,12 +62,12 @@ public class SmsBuilder { /** * SmsTemplate配置缓存池 */ - private Map templatePool = new ConcurrentHashMap<>(); + private final Map templatePool = new ConcurrentHashMap<>(); /** * Sms配置缓存池 */ - private Map smsPool = new ConcurrentHashMap<>(); + private final Map smsPool = new ConcurrentHashMap<>(); /**