commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CODEC-165) Base64 static methods create instances of Base64; this is not documented
Date Thu, 19 May 2016 13:47:13 GMT

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

Sebb resolved CODEC-165.
------------------------
    Resolution: Won't Fix

Cannot reuse the class without creating lots of public instance methods

> Base64 static methods create instances of Base64; this is not documented
> ------------------------------------------------------------------------
>
>                 Key: CODEC-165
>                 URL: https://issues.apache.org/jira/browse/CODEC-165
>             Project: Commons Codec
>          Issue Type: Improvement
>            Reporter: Sebb
>
> The Base64 static encode and decode methods create instances of the Base64 class internally.
> The class is documented as being thread-safe, so applications that need to re-use a particular
Base64 configuration could avoid this extra object creation by creating their own specific
instance and re-using it.
> This should probably be documented.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message