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

CSVFormat definitions are difficult to read and maintain

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      The CSVFormat definitions (DEFAULT, EXCEL etc) are very difficult to read because the ctor has so many parameters.

      Also, any change to the ctor parameters means all the definitions have to be changed.

      It would be much easier if the constants were defined using the standard API.

      This can be done by defining a base format (with everything disabled or null) and generating the constants from that.

      Attachments

        1. CSV-74.patch
          3 kB
          Sebb

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: