You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Andras Salamon (Jira)" <ji...@apache.org> on 2020/03/02 13:43:00 UTC
[jira] [Commented] (SOLR-14297) Remove apache commons-codec Base64
calls in favor of java 8 alternatives
[ https://issues.apache.org/jira/browse/SOLR-14297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17049214#comment-17049214 ]
Andras Salamon commented on SOLR-14297:
---------------------------------------
When I created this patch I realized that solr has it's own Base64 implementation: [https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Base64.java] It was added by SOLR-1116 in 2009, maybe it could also be replaced by the Java8 Base64 class.
> Remove apache commons-codec Base64 calls in favor of java 8 alternatives
> ------------------------------------------------------------------------
>
> Key: SOLR-14297
> URL: https://issues.apache.org/jira/browse/SOLR-14297
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Andras Salamon
> Priority: Minor
> Attachments: SOLR-14297-01.patch
>
>
> Java8 has a builtin Base64 encoder and decoder, there is no need to use commons-codec for this purpose.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org