StringBuilder append方法改为链式调用

This commit is contained in:
caohong 2022-02-11 10:06:07 +08:00
parent 2532e40f9c
commit dd5e514d92
1 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ public class DictUtils
{
if (value.equals(dict.getDictValue()))
{
propertyString.append(dict.getDictLabel() + separator);
propertyString.append(dict.getDictLabel()).append(separator);
break;
}
}
@ -132,7 +132,7 @@ public class DictUtils
{
if (label.equals(dict.getDictLabel()))
{
propertyString.append(dict.getDictValue() + separator);
propertyString.append(dict.getDictValue()).append(separator);
break;
}
}