Repository: commons-text Updated Branches: refs/heads/master a8824266f -> 7017ea97f
[TEXT-113] Add an interpolator string lookup. No long needs to subclass StrLookup. Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/7017ea97 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/7017ea97 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/7017ea97 Branch: refs/heads/master Commit: 7017ea97f5aab09a28a3ab0db44be29c207c9ce6 Parents: a882426 Author: Gary Gregory <garydgreg...@gmail.com> Authored: Sun Feb 11 08:49:21 2018 -0700 Committer: Gary Gregory <garydgreg...@gmail.com> Committed: Sun Feb 11 08:49:21 2018 -0700 ---------------------------------------------------------------------- .../org/apache/commons/text/lookup/AbstractStringLookup.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-text/blob/7017ea97/src/main/java/org/apache/commons/text/lookup/AbstractStringLookup.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/text/lookup/AbstractStringLookup.java b/src/main/java/org/apache/commons/text/lookup/AbstractStringLookup.java index fb43349..0985506 100644 --- a/src/main/java/org/apache/commons/text/lookup/AbstractStringLookup.java +++ b/src/main/java/org/apache/commons/text/lookup/AbstractStringLookup.java @@ -17,18 +17,16 @@ package org.apache.commons.text.lookup; -import org.apache.commons.text.StrLookup; - /** * A default lookup for others to extend in this package. * <p> * Unfortunately, the type {@link org.apache.commons.text.StrLookup} was defined as class and not an interface, which is - * why this package introduces the interface {@link StringLookup}. In time, some deprecation strategy should be created. + * why this package introduces the interface {@link StringLookup}. * </p> * * @since 1.3 */ -public abstract class AbstractStringLookup extends StrLookup<String> { +public abstract class AbstractStringLookup implements StringLookup { protected static final String EMPTY = "";