You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/07/26 21:16:13 UTC
[commons-text] 02/04: Sort members.
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 <ga...@gmail.com>
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;
}
}