Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-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 7FE6C1022D for ; Mon, 6 May 2013 21:49:39 +0000 (UTC) Received: (qmail 33291 invoked by uid 500); 6 May 2013 21:49:39 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 33172 invoked by uid 500); 6 May 2013 21:49:39 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 33158 invoked by uid 99); 6 May 2013 21:49:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 May 2013 21:49:38 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sebbaz@gmail.com designates 74.125.82.41 as permitted sender) Received: from [74.125.82.41] (HELO mail-wg0-f41.google.com) (74.125.82.41) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 May 2013 21:49:33 +0000 Received: by mail-wg0-f41.google.com with SMTP id y10so3164242wgg.2 for ; Mon, 06 May 2013 14:49:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=2669Kmphf6hhxfiMf8SNVpU7wfkdk5+3ffuaLBrsN88=; b=aW+eE31RGVWCLJSM1NqQ6Y+j2FVDuz4IkJvujQOEVSUgCysx8gMpEKEoKZzZ1JvvWr iDH3Anidg/eCmnIq70819VM4wAUckOojjXdpInism68ekESEjIQydwUc8jsDuXLBXxAX M16paCbSn7Gn0lc8RQJYC2FI27j/PqQhYvkgNowKAfAMRrJArV0qr0ciZqcEHtxTxv08 DH/JMVV253iaVT0SLQ3DaQQlL7u0CfiAfYjc0DHoNJVOUplUL60luoWDTXl5KB5j5nQv ML+MMczIsh1DnMQSXaaSne21HloE6LabxA+rUJjhgPYACUNee/AydKAENaRBvD0eYJtI ajkw== MIME-Version: 1.0 X-Received: by 10.180.188.198 with SMTP id gc6mr10805681wic.14.1367876952524; Mon, 06 May 2013 14:49:12 -0700 (PDT) Received: by 10.194.177.198 with HTTP; Mon, 6 May 2013 14:49:12 -0700 (PDT) Date: Mon, 6 May 2013 22:49:12 +0100 Message-ID: Subject: [CSV] change line number from 0-based to 1-based From: sebb To: dev@commons.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org The line number returned by ExtendedBufferedReader.getLineNumber() currently starts at zero, so an error in the first line in the file is reported as being in line 0. There does not seem to be any good reason for using a zero-based line number, so I would like to change it to 1-based. Some tests will need to be fixed. WDYT? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org