This commit is contained in:
xiangwb
2018-02-27 16:37:49 +08:00
parent bdda8df5fc
commit 5746ebfc1d
21 changed files with 212 additions and 113 deletions
@@ -109,8 +109,9 @@ public class EmailUtil {
StringBuffer toList = new StringBuffer();
if (toEmailArray != null && toEmailArray.length > 0) {
for (int i = 0; i < toEmailArray.length; i++) {
if (toList.length() > 0)
if (toList.length() > 0) {
toList.append(",");
}
toList.append(toEmailArray[i]);
}
return toList.toString();