commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] [Commented] (VALIDATOR-349) TLD table should be pre-sorted
Date Sat, 03 Jan 2015 21:32:34 GMT


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:
>             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

View raw message