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 DDE79F6F1 for ; Wed, 20 Mar 2013 20:59:16 +0000 (UTC) Received: (qmail 93364 invoked by uid 500); 20 Mar 2013 20:59:15 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 93300 invoked by uid 500); 20 Mar 2013 20:59:15 -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 93292 invoked by uid 99); 20 Mar 2013 20:59:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Mar 2013 20:59:15 +0000 Date: Wed, 20 Mar 2013 20:59:15 +0000 (UTC) From: "Simon Willnauer (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (LUCENE-4865) BytesRefArray#append returns wrong index (off by one) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Simon Willnauer created LUCENE-4865: --------------------------------------- Summary: BytesRefArray#append returns wrong index (off by one) Key: LUCENE-4865 URL: https://issues.apache.org/jira/browse/LUCENE-4865 Project: Lucene - Core Issue Type: Bug Components: modules/other Affects Versions: 4.2 Reporter: Simon Willnauer Priority: Minor Fix For: 5.0, 4.3, 4.2.1 pretty simple thing the returned index is incremented before returned. I will add a test and upload a patch -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators 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