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 7CC54FD11 for ; Mon, 8 Apr 2013 18:15:12 +0000 (UTC) Received: (qmail 87645 invoked by uid 500); 8 Apr 2013 18:15:12 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 87518 invoked by uid 500); 8 Apr 2013 18:15:11 -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 87509 invoked by uid 99); 8 Apr 2013 18:15:11 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2013 18:15:11 +0000 Received: from localhost (HELO mail-wg0-f49.google.com) (127.0.0.1) (smtp-auth username britter, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Apr 2013 18:15:11 +0000 Received: by mail-wg0-f49.google.com with SMTP id e11so5979890wgh.4 for ; Mon, 08 Apr 2013 11:15:10 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.194.89.169 with SMTP id bp9mr33374345wjb.57.1365444910105; Mon, 08 Apr 2013 11:15:10 -0700 (PDT) Received: by 10.194.7.42 with HTTP; Mon, 8 Apr 2013 11:15:09 -0700 (PDT) Date: Mon, 8 Apr 2013 20:15:10 +0200 Message-ID: Subject: [CSV-96] Are we satisfied with the implemented solution? From: Benedikt Ritter To: Commons Developers List Content-Type: multipart/alternative; boundary=047d7bf19894d3ce9204d9dd6a9d --047d7bf19894d3ce9204d9dd6a9d Content-Type: text/plain; charset=ISO-8859-1 Hi, Gary has already added the isConsistent() method to CSVRecord to give users a possibility to check if a CSVRecord's values have the same length as the headers array. Are we satisfied with this solution for CSV-96 [1]? One thing I'd like to do is convert the ArrayOutOfBoundsExpcetion that may be thrown from get(String) into something that is a bit more expressive in the context of CSVRecords. How do you feel about this? There should be no impact on performance. Regards, Benedikt [1] https://issues.apache.org/jira/browse/CSV-96 -- http://people.apache.org/~britter/ http://www.systemoutprintln.de/ http://twitter.com/BenediktRitter http://github.com/britter --047d7bf19894d3ce9204d9dd6a9d--