You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Peter Somogyi (JIRA)" <ji...@apache.org> on 2018/10/15 18:41:00 UTC

[jira] [Created] (SOLR-12870) Use StandardCharsets instead of String values

Peter Somogyi created SOLR-12870:
------------------------------------

             Summary: Use StandardCharsets instead of String values
                 Key: SOLR-12870
                 URL: https://issues.apache.org/jira/browse/SOLR-12870
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Peter Somogyi


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org