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 2018/06/09 16:49:09 UTC

[24/50] [abbrv] [text] TEXT-122: Allow full customization with new API

TEXT-122: Allow full customization with new API

Fix checkstyle violations


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

Branch: refs/heads/release
Commit: 6b9c9049b4c893a1cab471f5195455de9d023dac
Parents: a1ac0fe
Author: Pascal Schumacher <pa...@gmx.net>
Authored: Sat Apr 21 18:18:19 2018 +0200
Committer: Pascal Schumacher <pa...@gmx.net>
Committed: Sat Apr 21 18:18:19 2018 +0200

----------------------------------------------------------------------
 .../apache/commons/text/lookup/InterpolatorStringLookup.java  | 7 +++++++
 .../org/apache/commons/text/lookup/StringLookupFactory.java   | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-text/blob/6b9c9049/src/main/java/org/apache/commons/text/lookup/InterpolatorStringLookup.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/text/lookup/InterpolatorStringLookup.java b/src/main/java/org/apache/commons/text/lookup/InterpolatorStringLookup.java
index e5c16a0..f1579d8 100644
--- a/src/main/java/org/apache/commons/text/lookup/InterpolatorStringLookup.java
+++ b/src/main/java/org/apache/commons/text/lookup/InterpolatorStringLookup.java
@@ -93,6 +93,13 @@ class InterpolatorStringLookup extends AbstractStringLookup {
 
     /**
      * Creates a fully customized instance.
+     *
+     * @param stringLookupMap
+     *            the map of string lookups.
+     * @param defaultStringLookup
+     *            the default string lookup.
+     * @param addDefaultLookups
+     *            whether the default lookups should be used.
      */
     InterpolatorStringLookup(final Map<String, StringLookup> stringLookupMap, final StringLookup defaultStringLookup,
             final boolean addDefaultLookups) {

http://git-wip-us.apache.org/repos/asf/commons-text/blob/6b9c9049/src/main/java/org/apache/commons/text/lookup/StringLookupFactory.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/text/lookup/StringLookupFactory.java b/src/main/java/org/apache/commons/text/lookup/StringLookupFactory.java
index 78a1ab3..92e3499 100644
--- a/src/main/java/org/apache/commons/text/lookup/StringLookupFactory.java
+++ b/src/main/java/org/apache/commons/text/lookup/StringLookupFactory.java
@@ -134,7 +134,7 @@ public final class StringLookupFactory {
      * <li>"date" for the {@link DateStringLookup}.</li>
      * <li>"localhost" for the {@link LocalHostStringLookup}, see {@link #localHostStringLookup()} for key names.</li>
      * </ul>
-     * 
+     *
      * @param stringLookupMap
      *            the map of string lookups.
      * @param defaultStringLookup