Comment 10 for bug 460177

Revision history for this message
Nicolas Leroux (nicolas-lunatech) wrote :

Hi,

I thought that there were a buildMessage with a replyTo as a String. I will add it if it not there.

In that case using Object to support both InternetAddress and String is possible. However you are only allowed to use String or InternetAddress so why not having 2 methods reflecting this requirement?

However, in general I think that is a bad idea to use Object as parameters though. Java is a strongly typed language and that is for a good reason. Of course, the goal is to be 100% compatible with the 1.0.

I am fixing that ASAP.