Repository: commons-text Updated Branches: refs/heads/master 873fce31d -> bd81c46e0
Add some toString()s. Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/bd81c46e Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/bd81c46e Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/bd81c46e Branch: refs/heads/master Commit: bd81c46e0c4ad5b85892f0a7b474bd93b8c10c02 Parents: 873fce3 Author: Gary Gregory <garydgreg...@gmail.com> Authored: Fri Sep 22 11:33:09 2017 -0600 Committer: Gary Gregory <garydgreg...@gmail.com> Committed: Fri Sep 22 11:33:09 2017 -0600 ---------------------------------------------------------------------- src/main/java/org/apache/commons/text/StrLookup.java | 11 +++++++++++ 1 file changed, 11 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-text/blob/bd81c46e/src/main/java/org/apache/commons/text/StrLookup.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/text/StrLookup.java b/src/main/java/org/apache/commons/text/StrLookup.java index 2344c82..9e2ef80 100644 --- a/src/main/java/org/apache/commons/text/StrLookup.java +++ b/src/main/java/org/apache/commons/text/StrLookup.java @@ -165,6 +165,11 @@ public abstract class StrLookup<V> { } return obj.toString(); } + + @Override + public String toString() { + return super.toString() + " [map=" + map + "]"; + } } // ----------------------------------------------------------------------- @@ -186,6 +191,12 @@ public abstract class StrLookup<V> { } return resourceBundle.getString(key); } + + @Override + public String toString() { + return super.toString() + " [resourceBundle=" + resourceBundle + "]"; + } + } // -----------------------------------------------------------------------