On Fri, 29 Sept 2023 at 12:13, Filip Strajnar <filip.straj...@gmail.com> wrote: > > Greetings, > > > I've noticed that some methods on the org.apache.commons.mail.Email > class provide fluent interface (examples include setCc, addBcc, > addReplyTo), and some do not (to name a few: setAuthentication, > setSmtpPort, setMailSession). Is this intentional, or am I allowed to > submit a PR that would change all relevant void methods so that they > would return an Email object instead?
The return type is part of the Java method signature. Changing it would affect binary compatibility, so would not be possible without a major version change. > > Sincerely, > > Filip Strajnar > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org