Repository: commons-text Updated Branches: refs/heads/master 6d90cdfc4 -> 8e4ff3f1d
Checkstyle. Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/8e4ff3f1 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/8e4ff3f1 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/8e4ff3f1 Branch: refs/heads/master Commit: 8e4ff3f1d72baae5f18f799da77b92facbcd1edc Parents: 6d90cdf Author: Gary Gregory <[email protected]> Authored: Sat Sep 23 08:09:12 2017 -0600 Committer: Gary Gregory <[email protected]> Committed: Sat Sep 23 08:09:12 2017 -0600 ---------------------------------------------------------------------- src/main/java/org/apache/commons/text/StrLookup.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-text/blob/8e4ff3f1/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 e3b3947..64aa580 100644 --- a/src/main/java/org/apache/commons/text/StrLookup.java +++ b/src/main/java/org/apache/commons/text/StrLookup.java @@ -176,8 +176,9 @@ public abstract class StrLookup<V> { /** * Lookup implementation based on a ResourceBundle. */ - private static class ResourceBundleLookup extends StrLookup<String> { + private static final class ResourceBundleLookup extends StrLookup<String> { + /** ResourceBundle keys are variable names and value. */ private final ResourceBundle resourceBundle; /** @@ -208,7 +209,7 @@ public abstract class StrLookup<V> { /** * Lookup implementation based on system properties. */ - private static class SystemPropertiesStrLookup extends StrLookup<String> { + private static final class SystemPropertiesStrLookup extends StrLookup<String> { /** * {@inheritDoc} This implementation directly accesses system properties. */
