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 44AAE9699 for ; Thu, 24 Nov 2011 17:10:02 +0000 (UTC) Received: (qmail 58915 invoked by uid 500); 24 Nov 2011 17:10:01 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 58860 invoked by uid 500); 24 Nov 2011 17:10:01 -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 58853 invoked by uid 99); 24 Nov 2011 17:10:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2011 17:10:01 +0000 X-ASF-Spam-Status: No, hits=-2001.2 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; Thu, 24 Nov 2011 17:09:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E04BD9C865 for ; Thu, 24 Nov 2011 17:09:39 +0000 (UTC) Date: Thu, 24 Nov 2011 17:09:39 +0000 (UTC) From: "Robert Muir (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <1241094039.10268.1322154579920.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <178764217.10250.1322154221762.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3591) Make BytesRef.copy[Int,Short,Long] package private for DocValues 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-3591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13156827#comment-13156827 ] Robert Muir commented on LUCENE-3591: ------------------------------------- +1 I think in most cases people that want to do this are happy with ByteArrayDataInput/Output, its reusable and supports the DataInput/Output API completely. So most existing consumers that want to write a long to a bytearray referred by a BytesRef are using these classes. But for DV this is a good solution, removes some 'non-ref' APIs/minimizes our API exposure. > Make BytesRef.copy[Int,Short,Long] package private for DocValues > ---------------------------------------------------------------- > > Key: LUCENE-3591 > URL: https://issues.apache.org/jira/browse/LUCENE-3591 > Project: Lucene - Java > Issue Type: Sub-task > Affects Versions: 4.0 > Reporter: Simon Willnauer > Assignee: Simon Willnauer > Fix For: 4.0 > > Attachments: LUCENE-3591.patch > > > currently the BytesRef.copy[Int,Short,Long] api is only used by IndexDocValues and it seems it is pretty unique. I think we should move this into a package private class in o.a.l.i.values we can still open this up if it is needed by other packages. -- 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