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

commits at source.squeak.org commits at source.squeak.org
Tue Mar 3 22:13:20 UTC 2020

Nicolas Cellier uploaded a new version of Network to project The Trunk:

==================== 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