Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 68651 invoked from network); 21 Dec 2010 17:46:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Dec 2010 17:46:26 -0000 Received: (qmail 21914 invoked by uid 500); 21 Dec 2010 17:46:25 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 21869 invoked by uid 500); 21 Dec 2010 17:46:25 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 21862 invoked by uid 99); 21 Dec 2010 17:46:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Dec 2010 17:46:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Dec 2010 17:46:22 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBLHk1KB022962 for ; Tue, 21 Dec 2010 17:46:01 GMT Message-ID: <7053964.245701292953561131.JavaMail.jira@thor> Date: Tue, 21 Dec 2010 12:46:01 -0500 (EST) From: "Hoss Man (JIRA)" To: dev@lucene.apache.org Subject: [jira] Created: (SOLR-2292) Lock down NamedList API, remove inefficent and esoteric methods MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Lock down NamedList API, remove inefficent and esoteric methods --------------------------------------------------------------- Key: SOLR-2292 URL: https://issues.apache.org/jira/browse/SOLR-2292 Project: Solr Issue Type: Task Reporter: Hoss Man Fix For: 3.1 Over in SOLR-2288, rmuir made some good points about locking down the NamedList API to protect people... {quote} I looked at your patch, and personally I think NamedList should really be type-safe. If users want to use it in a type-unsafe way, thats fine, but *the container itself shouldn't be List*. {quote} ... {quote} Separately, i just want to say the following about NamedList: All uses of this API should really be reviewed. I'm quite aware that it warns you about the fact that its slow for certain operations, but in my opinion these *slow operations such as get(String, int) should be deprecated and removed*. Any users that are using NamedList in this way, especially in loops, are very likely using the wrong datastructure. {quote} (emphasis added by me) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org