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<>(); /**