Return-Path: X-Original-To: apmail-bval-user-archive@www.apache.org Delivered-To: apmail-bval-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D9DF10CE2 for ; Tue, 15 Oct 2013 18:52:59 +0000 (UTC) Received: (qmail 44864 invoked by uid 500); 15 Oct 2013 18:52:58 -0000 Delivered-To: apmail-bval-user-archive@bval.apache.org Received: (qmail 44829 invoked by uid 500); 15 Oct 2013 18:52:58 -0000 Mailing-List: contact user-help@bval.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@bval.apache.org Delivered-To: mailing list user@bval.apache.org Received: (qmail 44821 invoked by uid 99); 15 Oct 2013 18:52:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 18:52:58 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gudnabrsam@gmail.com designates 209.85.215.169 as permitted sender) Received: from [209.85.215.169] (HELO mail-ea0-f169.google.com) (209.85.215.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Oct 2013 18:52:54 +0000 Received: by mail-ea0-f169.google.com with SMTP id k11so4205530eaj.0 for ; Tue, 15 Oct 2013 11:52:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=L9QWqYx/L5N+L2/sBQqdjSr+Ns5RxIa3vFLf1sjgWKs=; b=e9SurFeH+lqNcE27indQj1Bj17FDTQjd/mFKwep4apzd8hJmeEWm85TLnIe4Heuuba zlWGEzFSef+ALti4sIC/YjWEh8a4WB3xC1xVPV7MQIueDRd8aBdBgCrNhCUJS3bqDOVz Fntcf/MLhSpIr+uuzl7s2TNyrIm4gw+Nm1PjeUxmvefKTZ+VVrBf6+qg+rei5NI0MfC2 ZS3oD1xT6ZAGGz3EZx3JmLialKQjTl7ecpSpMFntJHyPmpGqPwQvUanUZG+UO/uvkngT /qxIO35dlE0ZO/d5Lthy6NTF3cAMXtlkPKXCp68PvNaSMUg52JVklNE/jpO1I0u+w5ot dmRQ== MIME-Version: 1.0 X-Received: by 10.14.29.67 with SMTP id h43mr2827771eea.7.1381863153157; Tue, 15 Oct 2013 11:52:33 -0700 (PDT) Received: by 10.223.85.70 with HTTP; Tue, 15 Oct 2013 11:52:33 -0700 (PDT) Reply-To: gudnabrsam@gmail.com In-Reply-To: References: Date: Tue, 15 Oct 2013 13:52:33 -0500 Message-ID: Subject: Re: buildDefaultValidatorFactory and Validation.byDefaultProvider() From: Matt Benson To: user@bval.apache.org Content-Type: multipart/alternative; boundary=001a11c370f25f4a2a04e8cc164b X-Virus-Checked: Checked by ClamAV on apache.org --001a11c370f25f4a2a04e8cc164b Content-Type: text/plain; charset=ISO-8859-1 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 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/ > > > --001a11c370f25f4a2a04e8cc164b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
These should be equivalent. Calling #configure() against t= he default ValidationProvider just gives you the opportunity to alter a con= figuration 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,

S= orry for asking one question after another, i am wondering what difference = it can make if i use

 Validation.buildDefaultValidatorFactory()

and Validation.byDefaultProvider().configure()..buildValidato=
rFactory()

Thanks
Umesh


--
With Regards
Umesh Awasth= i
http://www.tr= avellingrants.com/

=A0 =A0=20

--001a11c370f25f4a2a04e8cc164b--