Uploaded image for project: 'Commons CSV'
  1. Commons CSV
  2. CSV-173

Update CSVRecord Constructor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.2
    • None
    • Parser
    • None

    Description

      Thanks for the solid library. This is a simple change but the fact that CSVRecord is final and doesn't have a public constructor means you end up having to write more code than seems necessary just to instantiate instances for test cases. If it was made non final then most mocking frameworks would happily mock it or if it had a public constructor it could just be instantiated.

      Attachments

        1. csv-rec-interface.diff
          10 kB
          Gary D. Gregory

        Activity

          People

            Unassigned Unassigned
            mike@providencehr.com Mike Foody
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: