[
https://issues.apache.org/jira/browse/LUCENE-5560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uwe Schindler reopened LUCENE-5560:
-----------------------------------
I have some more stuff in Solr to fix. Inspired by [~iorixxx], I fixed more
code, especially tests (and some oversights). I also found crazy conversions in
Solr like: {{byte[] -> String -> byte[] -> String}} without any sense to copy
files or streams.
I will post patch and backport. For now I left the hardcoded strings in tests
for IOUtils/FileUtils (because of import clash with {{IOUtils.UTF_8}} from
Lucene. I also left URLEncoder/Decoder.
> Cleanup charset handling for Java 7
> -----------------------------------
>
> Key: LUCENE-5560
> URL: https://issues.apache.org/jira/browse/LUCENE-5560
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Uwe Schindler
> Assignee: Uwe Schindler
> Fix For: 4.8, 5.0
>
> Attachments: LUCENE-5560-addonByAhmet.patch, LUCENE-5560.patch,
> LUCENE-5560.patch, LUCENE-5560.patch, LUCENE-5560.patch
>
>
> As we are now on Java 7, we should cleanup our charset handling to use the
> official constants added by Java 7: {{StandardCharsets}}
> This issue is just a small code refactoring, trying to nuke the IOUtils
> constants and replace them with the official ones provided by Java 7.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]