Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 78979 invoked from network); 12 Feb 2009 01:34:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2009 01:34:27 -0000 Received: (qmail 18954 invoked by uid 500); 12 Feb 2009 01:34:23 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 18876 invoked by uid 500); 12 Feb 2009 01:34:23 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 18840 invoked by uid 99); 12 Feb 2009 01:34:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 17:34:22 -0800 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2009 01:34:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CAB60234C48C for ; Wed, 11 Feb 2009 17:33:59 -0800 (PST) Message-ID: <1410849844.1234402439828.JavaMail.jira@brutus> Date: Wed, 11 Feb 2009 17:33:59 -0800 (PST) From: "Bob Smith (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (SANDBOX-220) CSVParser.nextValue() seems pointless In-Reply-To: <1924982294.1204360071136.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SANDBOX-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672853#action_12672853 ] Bob Smith commented on SANDBOX-220: ----------------------------------- It would be useful if the getLineNumber() method returned the current line in the output instead of the current line in the reader (since they would be different if there is a multi-line value). Then you could use that method to tell which line the value is on. And if I'm looking at it correctly, the only special value it returns is null when it gets to the end of the file (which would be how you know that there are no more values). > CSVParser.nextValue() seems pointless > ------------------------------------- > > Key: SANDBOX-220 > URL: https://issues.apache.org/jira/browse/SANDBOX-220 > Project: Commons Sandbox > Issue Type: Bug > Components: CSV > Reporter: Henri Yandell > Fix For: CSV 1.0 > > > The nextValue method really doesn't seem very useful. There's no concept of end of line, so your csv file could be 1xn or nx1 and you wouldn't know. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.