You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Munendra S N (JIRA)" <ji...@apache.org> on 2019/07/18 14:21:00 UTC

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

     [ https://issues.apache.org/jira/browse/SOLR-12870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Munendra S N updated SOLR-12870:
--------------------------------
    Attachment: SOLR-12870.patch

> Use StandardCharsets instead of String values
> ---------------------------------------------
>
>                 Key: SOLR-12870
>                 URL: https://issues.apache.org/jira/browse/SOLR-12870
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Peter Somogyi
>            Priority: Minor
>         Attachments: SOLR-12870.master.1.patch, SOLR-12870.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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.14#76016)

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