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 2017/09/22 21:50:06 UTC

[text] [TEXT-102] StrLookup.resourceBundleLookup(ResourceBundle). Make ctor private.

Repository: commons-text
Updated Branches:
  refs/heads/master 5a0231ae0 -> 6d90cdfc4


[TEXT-102] StrLookup.resourceBundleLookup(ResourceBundle). Make ctor
private.

Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/6d90cdfc
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/6d90cdfc
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/6d90cdfc

Branch: refs/heads/master
Commit: 6d90cdfc4a9c324812921fb49bab5e40c158e33a
Parents: 5a0231a
Author: Gary Gregory <ga...@gmail.com>
Authored: Fri Sep 22 15:50:04 2017 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Fri Sep 22 15:50:04 2017 -0600

----------------------------------------------------------------------
 src/main/java/org/apache/commons/text/StrLookup.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-text/blob/6d90cdfc/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 929530d..e3b3947 100644
--- a/src/main/java/org/apache/commons/text/StrLookup.java
+++ b/src/main/java/org/apache/commons/text/StrLookup.java
@@ -185,7 +185,7 @@ public abstract class StrLookup<V> {
          *
          * @param resourceBundle the ResourceBundle of keys to values, may be null
          */
-        public ResourceBundleLookup(final ResourceBundle resourceBundle) {
+        private ResourceBundleLookup(final ResourceBundle resourceBundle) {
             this.resourceBundle = resourceBundle;
         }