File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
modules/simple-java-mail/src/main/java/org/simplejavamail/email/internal Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 3535import java .util .Collection ;
3636import java .util .Date ;
3737import java .util .HashMap ;
38- import java .util .HashSet ;
3938import java .util .List ;
4039import java .util .Map ;
41- import java .util .Set ;
4240
4341import static java .lang .String .format ;
4442import static java .nio .charset .StandardCharsets .UTF_8 ;
@@ -130,7 +128,7 @@ public class EmailPopulatingBuilderImpl implements InternalEmailPopulatingBuilde
130128 * @see #bcc(Recipient...)
131129 */
132130 @ NotNull
133- private final Set <Recipient > recipients ;
131+ private final List <Recipient > recipients ;
134132
135133 /**
136134 * @see #withEmbeddedImage(String, DataSource)
@@ -250,7 +248,7 @@ public class EmailPopulatingBuilderImpl implements InternalEmailPopulatingBuilde
250248 * @see EmailStartingBuilder#startingBlank()
251249 */
252250 EmailPopulatingBuilderImpl (final boolean applyDefaults ) {
253- recipients = new HashSet <>();
251+ recipients = new ArrayList <>();
254252 embeddedImages = new ArrayList <>();
255253 attachments = new ArrayList <>();
256254 decryptedAttachments = new ArrayList <>();
You can’t perform that action at this time.
0 commit comments