Fix the checkstyle warning

This commit is contained in:
von gosling
2020-11-23 10:35:16 +08:00
committed by GitHub
parent 3aa742fa42
commit 50ee07b47b

View File

@@ -82,9 +82,9 @@ public class RMQConfigure {
logger.info("setNameSrvAddrByProperty nameSrvAddr={}", namesrvAddr);
}
}
public boolean isACLEnabled(){
return !(StringUtils.isAnyBlank(this.accessKey, this.secretKey)||
StringUtils.isAnyEmpty(this.accessKey, this.secretKey));
public boolean isACLEnabled() {
return !(StringUtils.isAnyBlank(this.accessKey, this.secretKey) ||
StringUtils.isAnyEmpty(this.accessKey, this.secretKey));
}
public String getRocketMqConsoleDataPath() {
return dataPath;