Commit bcd1d584 authored by gongzijian's avatar gongzijian
Browse files

Merge remote-tracking branch 'upstream/dev' into dev

parents d83beaf3 e42d2aa5
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -104,6 +104,10 @@ public class MailUtils {
        Map<String,Object> retMap = new HashMap<>();
        retMap.put(Constants.STATUS, false);
        
        // if there is no receivers && no receiversCc, no need to process
        if (CollectionUtils.isEmpty(receivers) && CollectionUtils.isEmpty(receiversCc)) {
            return retMap;
        }

        receivers.removeIf((from) -> (StringUtils.isEmpty(from)));