[squeak-dev] The Inbox: Network-eem.239.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Feb 11 23:44:36 UTC 2020


A new version of Network was added to project The Inbox:
http://source.squeak.org/inbox/Network-eem.239.mcz

==================== Summary ====================

Name: Network-eem.239
Author: eem
Time: 11 February 2020, 3:44:34.386439 pm
UUID: 4a7fc777-149d-45ed-a205-a8ef149c84bd
Ancestors: Network-tpr.238

Use withoutDuplicates for what it was intended for.  Thanks to Timothy for the reminder.

=============== Diff against Network-tpr.238 ===============

Item was changed:
  ----- Method: MailMessage>>to: (in category 'accessing') -----
  to: aString
  
  	| sanitizedMailAddresses |
+ 	sanitizedMailAddresses := (MailAddressParser addressesIn: aString) withoutDuplicates.
- 	sanitizedMailAddresses := (MailAddressParser addressesIn: aString) asSet asArray.
  	^self setField: 'to' toString: (sanitizedMailAddresses joinSeparatedBy: ', ')!



More information about the Squeak-dev mailing list