Repository: commons-text Updated Branches: refs/heads/master 0b061698f -> 6f6b6365f
Use final. Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/6f6b6365 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/6f6b6365 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/6f6b6365 Branch: refs/heads/master Commit: 6f6b6365fb8265362bd16eaf795dac27f9c4864b Parents: 0b06169 Author: Gary Gregory <garydgreg...@gmail.com> Authored: Fri Sep 22 15:46:44 2017 -0600 Committer: Gary Gregory <garydgreg...@gmail.com> Committed: Fri Sep 22 15:46:44 2017 -0600 ---------------------------------------------------------------------- src/main/java/org/apache/commons/text/StrLookup.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-text/blob/6f6b6365/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 726ef73..95e3a0e 100644 --- a/src/main/java/org/apache/commons/text/StrLookup.java +++ b/src/main/java/org/apache/commons/text/StrLookup.java @@ -180,12 +180,12 @@ public abstract class StrLookup<V> { private final ResourceBundle resourceBundle; - public ResourceBundleLookup(ResourceBundle resourceBundle) { + public ResourceBundleLookup(final ResourceBundle resourceBundle) { this.resourceBundle = resourceBundle; } @Override - public String lookup(String key) { + public String lookup(final String key) { if (resourceBundle == null || key == null || !resourceBundle.containsKey(key)) { return null; }