Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12870

Use StandardCharsets instead of String values

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Done
    • None
    • 8.3
    • None
    • None

    Description

      Charsets are hardcoded in some places around the codebase which is error-prone.

      Moving to StandardCharsets also has the benefit of dropping the try-catch block caused by UnsupportedEncodingException.

      Attachments

        1. SOLR-12870.patch
          26 kB
          Munendra S N
        2. SOLR-12870.patch
          26 kB
          Munendra S N
        3. SOLR-12870.master.1.patch
          28 kB
          Peter Somogyi

        Activity

          People

            munendrasn Munendra S N
            psomogyi Peter Somogyi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m