=============== Summary ===============
Change Set: cleanup-MailMessage-parts
Date: 20 May 2023
Author: Christoph Thiede
Removes parts instvar and related methods from MailMessage. Handling of parts has already been delegated to the body MIMEDocument for years, and the instvar on MailMessage had no references (only assignments). The only senders of the referencing messages were already deprecated and not in use, and they could not work anyway more.
=============== Postscript ===============
MailMessage removeSelector: #parseParts.
FancyMailComposition removeSelector: #breakLinesInMessage:.
MailMessage removeSelector: #regenerateBodyFromParts.
MailComposition removeSelector: #breakLinesInMessage:.
=============== Diff ===============
MailMessage (changed)
Object subclass: #MailMessage
- instanceVariableNames: 'text body fields parts'
+ instanceVariableNames: 'text body fields'
classVariableNames: ''
poolDictionaries: ''
category: 'Network-Url'
MailMessage class
instanceVariableNames: ''
"I represent an Internet mail or news message.
text - the raw text of my message
body - the body of my message, as a MIMEDocument
fields - a dictionary mapping lowercased field names into collections of MIMEHeaderValue's
- parts - if I am a multipart message, then this is a cache of my parts"
---
Sent from Squeak Inbox Talk
["cleanup-MailMessage-parts.3.cs"]