Sebb created VALIDATOR-471:
------------------------------

             Summary: Allow DomainValidator overrides at run-time
                 Key: VALIDATOR-471
                 URL: https://issues.apache.org/jira/browse/VALIDATOR-471
             Project: Commons Validator
          Issue Type: Bug
            Reporter: Sebb


It would be useful to allow DomainValidator instances to be created with 
different overrides.
Currently this is not possible because there are only two cached instances.
As such, it's not possible to make changes after initialisation.

The class could be extended allow further instances to be created, whilst still 
keeping the existing behaviour for the cached instances.

This would allow users to create further instances with local changes to the 
Generic and CountryCode lists.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to