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.