Le 09/04/2013 08:48, Benedikt Ritter a écrit :

> You're right, the old impl was already immutable. The problem was, that it
> was not possible for a CSVFormat to validate itself at construction time.
> We had to call the package private validate() method. I think we have been
> through this several times. All arguments have been exchanged. If there is
> a way to let a CSVFormat validate itself by the time it is constructed with
> the old AP, I'm more than happy to drop the builder.

The need for the validation in exaggerated in my opinion. The format was
validated at parse time before and that was fine. If you feel it's
important to validate earlier I suggest adding a public validate()
method and let the user call it if needed.

Emmanuel Bourg


Attachment: smime.p7s
Description: Signature cryptographique S/MIME

Reply via email to