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 A9CC617A7E for ; Tue, 13 Jan 2015 20:02:49 +0000 (UTC) Received: (qmail 4722 invoked by uid 500); 13 Jan 2015 20:02:42 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 4623 invoked by uid 500); 13 Jan 2015 20:02:42 -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 4570 invoked by uid 99); 13 Jan 2015 20:02:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2015 20:02:42 +0000 Date: Tue, 13 Jan 2015 20:02:42 +0000 (UTC) From: "Benedikt Ritter (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (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 ] Benedikt Ritter closed VALIDATOR-349. ------------------------------------- > 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 > Fix For: 1.4.1 Release > > > 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)