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 2022/05/18 20:22:56 UTC

[commons-text] branch master updated: Javadocs.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-text.git


The following commit(s) were added to refs/heads/master by this push:
     new c7361037 Javadocs.
c7361037 is described below

commit c7361037993be487e0220069d76caf9f3698e2e3
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed May 18 16:22:52 2022 -0400

    Javadocs.
---
 .../org/apache/commons/text/lookup/InterpolatorStringLookup.java  | 8 ++++----
 .../java/org/apache/commons/text/lookup/StringLookupFactory.java  | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

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 9b88d805..1a8124e8 100644
--- a/src/main/java/org/apache/commons/text/lookup/InterpolatorStringLookup.java
+++ b/src/main/java/org/apache/commons/text/lookup/InterpolatorStringLookup.java
@@ -50,7 +50,7 @@ class InterpolatorStringLookup extends AbstractStringLookup {
     private final Map<String, StringLookup> stringLookupMap;
 
     /**
-     * Creates an instance using only lookups that work without initial properties and are stateless.
+     * Constructs an instance using only lookups that work without initial properties and are stateless.
      * <p>
      * Uses the {@link StringLookupFactory default lookups}.
      * </p>
@@ -60,7 +60,7 @@ class InterpolatorStringLookup extends AbstractStringLookup {
     }
 
     /**
-     * Creates a fully customized instance.
+     * Constructs a fully customized instance.
      *
      * @param stringLookupMap the map of string lookups.
      * @param defaultStringLookup the default string lookup.
@@ -79,7 +79,7 @@ class InterpolatorStringLookup extends AbstractStringLookup {
     }
 
     /**
-     * Creates an instance using only lookups that work without initial properties and are stateless.
+     * Constructs an instance using only lookups that work without initial properties and are stateless.
      * <p>
      * Uses the {@link StringLookupFactory default lookups}.
      * </p>
@@ -92,7 +92,7 @@ class InterpolatorStringLookup extends AbstractStringLookup {
     }
 
     /**
-     * Creates an instance with the given lookup.
+     * Constructs an instance with the given lookup.
      *
      * @param defaultStringLookup the default lookup.
      */
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 b38dd414..bcc9a02a 100644
--- a/src/main/java/org/apache/commons/text/lookup/StringLookupFactory.java
+++ b/src/main/java/org/apache/commons/text/lookup/StringLookupFactory.java
@@ -679,7 +679,7 @@ public final class StringLookupFactory {
     }
 
     /**
-     * Returns a new InterpolatorStringLookup using the {@link StringLookupFactory default lookups}.
+     * Returns the default {@link InterpolatorStringLookup} configured with the {@link StringLookupFactory default lookups}.
      * <p>
      * The lookups available to an interpolator are defined in
      * </p>
@@ -701,7 +701,7 @@ public final class StringLookupFactory {
      * The above examples convert {@code "${sys:os.name}, ${env:USER}"} to the OS name and Linux user name.
      * </p>
      *
-     * @return a new InterpolatorStringLookup.
+     * @return the default {@link InterpolatorStringLookup}.
      */
     public StringLookup interpolatorStringLookup() {
         return InterpolatorStringLookup.INSTANCE;