Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5BA3710F67 for ; Sun, 4 Jan 2015 22:03:34 +0000 (UTC) Received: (qmail 36333 invoked by uid 500); 4 Jan 2015 22:03:35 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 36242 invoked by uid 500); 4 Jan 2015 22:03:35 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 36048 invoked by uid 99); 4 Jan 2015 22:03:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jan 2015 22:03:35 +0000 Date: Sun, 4 Jan 2015 22:03:34 +0000 (UTC) From: "Sebb (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (VALIDATOR-349) TLD tables should be pre-sorted MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/VALIDATOR-349?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebb updated VALIDATOR-349: --------------------------- Description: The TLD tables are 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. was: 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. > TLD tables 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 tables are 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)