[
https://issues.apache.org/jira/browse/VALIDATOR-389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Charles Davies updated VALIDATOR-389:
-------------------------------------
Description: In the DomainValidator class there is a new public static
method updateTLDOverride that allows the TLD list to be updated dynamically.
However the input parameter
*org.apache.commons.validator.routines.DomainValidator.ArrayType* is a
non-public enum defined in the DomainValidator class and cannot be referenced
in a static public context. Therefore this method is unusable unless the
DomainValidator class is extended, which I don't think was the original
intention of this new static method. (was: In the DomainValidator class there
is a new public static method updateTLDOverride that allows the TLD list to be
updated dynamically. However the input parameter
*org.apache.commons.validator.routines.DomainValidator.ArrayType* is a
non-public enum defined in the DomainValidator class and cannot be referenced
in a static public context.)
> DomainValidator static public updateTLDOverride method contains non-public
> input parameter data type
> ----------------------------------------------------------------------------------------------------
>
> Key: VALIDATOR-389
> URL: https://issues.apache.org/jira/browse/VALIDATOR-389
> Project: Commons Validator
> Issue Type: Bug
> Components: Routines
> Affects Versions: 1.5.0
> Reporter: Charles Davies
>
> In the DomainValidator class there is a new public static method
> updateTLDOverride that allows the TLD list to be updated dynamically. However
> the input parameter
> *org.apache.commons.validator.routines.DomainValidator.ArrayType* is a
> non-public enum defined in the DomainValidator class and cannot be referenced
> in a static public context. Therefore this method is unusable unless the
> DomainValidator class is extended, which I don't think was the original
> intention of this new static method.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)