commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject [text] [TEXT-102] StrLookup.resourceBundleLookup(ResourceBundle). Make ctor private.
Date Fri, 22 Sep 2017 21:50:06 GMT
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 <garydgregory@gmail.com>
Authored: Fri Sep 22 15:50:04 2017 -0600
Committer: Gary Gregory <garydgregory@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;
         }
 


Mime
View raw message