Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3AE5F7E6A for ; Mon, 10 Oct 2011 12:21:53 +0000 (UTC) Received: (qmail 13666 invoked by uid 500); 10 Oct 2011 12:21:51 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 13574 invoked by uid 500); 10 Oct 2011 12:21:51 -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 13495 invoked by uid 99); 10 Oct 2011 12:21:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2011 12:21:51 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2011 12:21:50 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E375630008E for ; Mon, 10 Oct 2011 12:21:29 +0000 (UTC) Date: Mon, 10 Oct 2011 12:21:29 +0000 (UTC) From: "Michael McCandless (Updated) (JIRA)" To: dev@lucene.apache.org Message-ID: <1540904819.14378.1318249289933.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1077888712.14371.1318249169852.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (LUCENE-3502) Packed ints: move .getArray into Reader API 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/LUCENE-3502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-3502: --------------------------------------- Attachment: LUCENE-3502.patch > Packed ints: move .getArray into Reader API > ------------------------------------------- > > Key: LUCENE-3502 > URL: https://issues.apache.org/jira/browse/LUCENE-3502 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Michael McCandless > Assignee: Michael McCandless > Fix For: 3.5, 4.0 > > Attachments: LUCENE-3502.patch > > > This is a simple code cleanup... it's messy that a consumer of > PackedInts.Reader must check whether the impl is Direct8/16/32/64 in > order to get an array; it's better to move up the .getArray into the > Reader interface and then make the DirectN impls package private. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org