From commits-return-64837-archive-asf-public=cust-asf.ponee.io@commons.apache.org Fri Oct 5 18:15:35 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id E3C1E180649 for ; Fri, 5 Oct 2018 18:15:34 +0200 (CEST) Received: (qmail 42327 invoked by uid 500); 5 Oct 2018 16:15:33 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 42317 invoked by uid 99); 5 Oct 2018 16:15:33 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2018 16:15:33 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 3B54F3A0AA6 for ; Fri, 5 Oct 2018 16:15:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1842940 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/interpol/DefaultLookups.java Date: Fri, 05 Oct 2018 16:15:40 -0000 To: commits@commons.apache.org From: ggregory@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20181005161541.3B54F3A0AA6@svn01-us-west.apache.org> Author: ggregory Date: Fri Oct 5 16:15:40 2018 New Revision: 1842940 URL: http://svn.apache.org/viewvc?rev=1842940&view=rev Log: [CONFIGURATION-726] Add support for Commons Text 1.5 new string lookups as default lookups. Looking ahead to Commons Text 1.6. Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/interpol/DefaultLookups.java Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/interpol/DefaultLookups.java URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/interpol/DefaultLookups.java?rev=1842940&r1=1842939&r2=1842940&view=diff ============================================================================== --- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/interpol/DefaultLookups.java (original) +++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/interpol/DefaultLookups.java Fri Oct 5 16:15:40 2018 @@ -59,11 +59,18 @@ import org.apache.commons.text.lookup.St public enum DefaultLookups { /** - * The lookup for Base64. + * The lookup for Base64 decoding. * * @since 2.4 */ - BASE64("base64", new StringLookupAdapter(StringLookupFactory.INSTANCE.base64StringLookup())), + BASE64_DECODER("base64Decoder", new StringLookupAdapter(StringLookupFactory.INSTANCE.base64StringLookup())), + + /** + * The lookup for Base64 decoding. + * + * @since 2.4 + */ + //BASE64_ENCODER("base64Encoder", new StringLookupAdapter(StringLookupFactory.INSTANCE.base64EncoderStringLookup())), /** * The lookup for constants.