This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-text.git
commit 58b2ec145fca98ac0c7ecb51d994bd21f2043654 Author: Gary Gregory <[email protected]> AuthorDate: Fri Jul 26 13:48:27 2019 -0400 Sort members. --- .../apache/commons/text/lookup/DefaultStringLookup.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/apache/commons/text/lookup/DefaultStringLookup.java b/src/main/java/org/apache/commons/text/lookup/DefaultStringLookup.java index 7fe39e1..ba57578 100644 --- a/src/main/java/org/apache/commons/text/lookup/DefaultStringLookup.java +++ b/src/main/java/org/apache/commons/text/lookup/DefaultStringLookup.java @@ -128,20 +128,20 @@ public enum DefaultStringLookup { } /** - * Returns the standard {@link StringLookup} instance of this kind. + * Returns the standard prefix for the lookup object of this kind. * - * @return the associated {@link StringLookup} object + * @return the prefix */ - public StringLookup getStringLookup() { - return lookup; + public String getKey() { + return key; } /** - * Returns the standard prefix for the lookup object of this kind. + * Returns the standard {@link StringLookup} instance of this kind. * - * @return the prefix + * @return the associated {@link StringLookup} object */ - public String getKey() { - return key; + public StringLookup getStringLookup() { + return lookup; } }
