【fix sonar】DictAspect文件

This commit is contained in:
梁琦涛
2023-03-08 12:01:03 +08:00
parent 92acacfcaf
commit e58c75dd13
@@ -332,6 +332,7 @@ public class DictAspect {
* @param text * @param text
* @param table * @param table
* @param key * @param key
* @deprecated 不推荐
* @return * @return
*/ */
@Deprecated @Deprecated
@@ -339,7 +340,7 @@ public class DictAspect {
if(oConvertUtils.isEmpty(key)) { if(oConvertUtils.isEmpty(key)) {
return null; return null;
} }
StringBuffer textValue=new StringBuffer(); StringBuilder textValue = new StringBuilder();
String[] keys = key.split(","); String[] keys = key.split(",");
for (String k : keys) { for (String k : keys) {
String tmpValue = null; String tmpValue = null;