Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 45C7E2009D9 for ; Thu, 19 May 2016 15:47:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 44A5F1609AE; Thu, 19 May 2016 13:47:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BE526160A00 for ; Thu, 19 May 2016 15:47:14 +0200 (CEST) Received: (qmail 19125 invoked by uid 500); 19 May 2016 13:47:13 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 18968 invoked by uid 99); 19 May 2016 13:47:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2016 13:47:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1793A2C1F58 for ; Thu, 19 May 2016 13:47:13 +0000 (UTC) Date: Thu, 19 May 2016 13:47:13 +0000 (UTC) From: "Sebb (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CODEC-165) Base64 static methods create instances of Base64; this is not documented MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 19 May 2016 13:47:15 -0000 [ 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)