I've noticed that Message has a method getSubject() that returns the
subject as UnstructuredField.

In my opinion it would be more practical if getSubject() simply
returned a string. The existing getSubject() method would not
necessarily have to go; it could also be renamed in getSubjectField()
or something like that.

Would that be too radical a change?

Furthermore I think that Message should have more convenience methods
like that, getDate(), getFrom(), getTo(), etc..

Of course setters would be nice too, setSubject(String),
setDate(Date), and so on..

Markus

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to