[ 
https://issues.apache.org/jira/browse/VALIDATOR-349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14263645#comment-14263645
 ] 

Sebb commented on VALIDATOR-349:
--------------------------------

Unit test cases have been added to check that the arrays are sorted.

Also the arrays themselves are currently sorted.

> TLD table should be pre-sorted
> ------------------------------
>
>                 Key: VALIDATOR-349
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-349
>             Project: Commons Validator
>          Issue Type: Improvement
>            Reporter: Sebb
>
> The TLD table is currently sorted at run-time when the class is loaded.
> It would be better to sort the entries in the source table, and have a unit 
> test to check that they are sorted. The unit test could output the entries in 
> the correct format if it finds they are not sorted, ready to copy and paste 
> into the source.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to