bval-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@gmail.com>
Subject Re: buildDefaultValidatorFactory and Validation.byDefaultProvider()
Date Tue, 15 Oct 2013 18:52:33 GMT
These should be equivalent. Calling #configure() against the default
ValidationProvider just gives you the opportunity to alter a configuration
before using it to produce a ValidatorFactory.

Matt


On Tue, Oct 15, 2013 at 1:48 PM, Umesh Awasthi <umeshawasthi@gmail.com>wrote:

> Hi All,
>
> Sorry for asking one question after another, i am wondering what
> difference it can make if i use
>
>  Validation.buildDefaultValidatorFactory()
>
> and Validation.byDefaultProvider().configure()..buildValidatorFactory()
>
> Thanks
> Umesh
>
>
>
> --
> With Regards
> Umesh Awasthi
> http://www.travellingrants.com/
>
>
>

Mime
View raw message