Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-389

DomainValidator static public updateTLDOverride method contains non-public input parameter data type

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.5.0
    • Fix Version/s: None
    • Component/s: Routines
    • Labels:
      None

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                cdavies Charles Davies
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: