[
https://issues.apache.org/jira/browse/VALIDATOR-471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebb resolved VALIDATOR-471.
----------------------------
Resolution: Fixed
Fixed:
commit 2ca205750ad3e0a02b180369d2a36a39d3103796
VALIDATOR-471 Allow DomainValidator overrides
---
src/changes/changes.xml | 6 +-
.../validator/routines/DomainValidator.java | 161 ++++++++++++++++++---
.../routines/DomainValidatorStartupTest.java | 33 +++++
3 files changed, 177 insertions(+), 23 deletions(-)
> 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
> Priority: Major
>
> 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)