[
https://issues.apache.org/jira/browse/LUCENE-5560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ahmet Arslan updated LUCENE-5560:
---------------------------------
Attachment: LUCENE-5560.patch
bq. Look at the patch. I refactored many thing of Solr, too.
Sorry I looked at https://svn.apache.org/r1583315 and it conceals solr changes
at first glance.
URLDecoder does not accept Charset instances either.
It is okey to use {code} URLDecoder.decode(....,
StandardCharsets.UTF_8.name()); {code} in such cases?
Is this patch usable in that sense?
> 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.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]