优化:重构代码
This commit is contained in:
@ -45,7 +45,7 @@ public class ConfigConstants {
|
||||
}
|
||||
|
||||
@Value("${cache.enabled:true}")
|
||||
public static void setCacheEnabled(String cacheEnabled) {
|
||||
public void setCacheEnabled(String cacheEnabled) {
|
||||
setCacheEnabledValueValue(Boolean.parseBoolean(cacheEnabled));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user