Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 47E061079D for ; Thu, 27 Mar 2014 21:34:36 +0000 (UTC) Received: (qmail 68969 invoked by uid 500); 27 Mar 2014 21:34:25 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 68588 invoked by uid 500); 27 Mar 2014 21:34:17 -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 68503 invoked by uid 99); 27 Mar 2014 21:34:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2014 21:34:16 +0000 Date: Thu, 27 Mar 2014 21:34:16 +0000 (UTC) From: "Gary Gregory (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CSV-104) Split CSVRecord with a subclass for mapping ops. 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/CSV-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Gregory updated CSV-104: ----------------------------- Fix Version/s: 1.x > Split CSVRecord with a subclass for mapping ops. > ------------------------------------------------ > > Key: CSV-104 > URL: https://issues.apache.org/jira/browse/CSV-104 > Project: Commons CSV > Issue Type: Improvement > Components: Parser > Environment: Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 11:22:22-0400) > Maven home: C:\Java\apache-maven-3.1.1\bin\.. > Java version: 1.7.0_51, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.7.0_51\jre > Default locale: en_US, platform encoding: Cp1252 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" > Reporter: Gary Gregory > Fix For: 1.x > > Attachments: CSV-104.diff, CSV-104.patch > > > Either a CSV file has headers or it does not. > Currently, the class CSVRecord is a catch all for both cases. > This patch refactors the code with a CSVRecord class CSVMappedRecord. The class could also be called CSVRecordMap. > The patch does not push the use of generics all the way. All tests compile. > Furthermore, the idea is that the CSVMappedRecord class will implement Map, which is what I really want. -- This message was sent by Atlassian JIRA (v6.2#6252)