【fix sonar】DictAspect文件
This commit is contained in:
+2
-1
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user