Hello, thanks for looking into it. I added my vote for VALIDATOR-366 and watching.
Regards, Cyril On Sat, May 2, 2015 at 1:01 AM, Bruno P. Kinoshita < [email protected]> wrote: > Had just looked through its code and was about to do the same :) > Looks immutable and thread-safe to me too, though I just quickly inspected > with vim. Going to read it again in Eclipse later and watch VALIDATOR-366. > > Thanks > Bruno > > From: Benedikt Ritter <[email protected]> > To: Commons Users List <[email protected]> > Sent: Saturday, May 2, 2015 10:51 AM > Subject: Re: [validator] DomainValidator instance thread-safe? > > Hello Cyrill, > > 2015-05-01 17:44 GMT+02:00 Cyril <[email protected]>: > > > Hello, > > I am interested by using a few validator routines such as the > > DomainValidator (package org.apache.commons.validator.routines). However, > > looking at the javadoc, I cannot find information about thread-safety in > > the description. > > > > Is DomainValidator#getInstance() and resulting DomainValidator instance > > thread-safe? > > > > I've looked through the code of DomainValidator. It is immutable so > instances can be shared between threads. I've also created VALIDATOR-366 > [1] for documenting this for all validators. > > Thank you! > Benedikt > > [1] https://issues.apache.org/jira/browse/VALIDATOR-366 > > > > > > > > Thank you. > > > > Regards, > > Cyril > > > > > > -- > http://people.apache.org/~britter/ > http://www.systemoutprintln.de/ > http://twitter.com/BenediktRitter > http://github.com/britter > > > > >
