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 2020/06/29 03:43:59 UTC

[commons-text] branch master updated (e536c55 -> 02a53b9)

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

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


    from e536c55  Slightly simpler.
     new d1e57e0  Format.
     new 02a53b9  Javadoc.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/main/java/org/apache/commons/text/TextStringBuilder.java        | 2 +-
 .../java/org/apache/commons/text/lookup/StringLookupFactory.java    | 6 ++----
 2 files changed, 3 insertions(+), 5 deletions(-)


[commons-text] 01/02: Format.

Posted by gg...@apache.org.
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

commit d1e57e087e23f012b78628ac5894f57251cd06d9
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 28 22:53:03 2020 -0400

    Format.
---
 .../java/org/apache/commons/text/lookup/StringLookupFactory.java    | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

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 41c8c40..59db15f 100644
--- a/src/main/java/org/apache/commons/text/lookup/StringLookupFactory.java
+++ b/src/main/java/org/apache/commons/text/lookup/StringLookupFactory.java
@@ -251,8 +251,7 @@ public final class StringLookupFactory {
      * {@code "USERNAME"} to the same effect.
      * </p>
      */
-    static final FunctionStringLookup<String> INSTANCE_ENVIRONMENT_VARIABLES = FunctionStringLookup
-        .on(System::getenv);
+    static final FunctionStringLookup<String> INSTANCE_ENVIRONMENT_VARIABLES = FunctionStringLookup.on(System::getenv);
 
     /**
      * Defines the FunctionStringLookup singleton that always returns null.
@@ -262,8 +261,7 @@ public final class StringLookupFactory {
     /**
      * Defines the FunctionStringLookup singleton for looking up system properties.
      */
-    static final FunctionStringLookup<String> INSTANCE_SYSTEM_PROPERTIES = FunctionStringLookup
-        .on(System::getProperty);
+    static final FunctionStringLookup<String> INSTANCE_SYSTEM_PROPERTIES = FunctionStringLookup.on(System::getProperty);
 
     /**
      * Default lookup key for interpolation {@value #KEY_BASE64_DECODER}.


[commons-text] 02/02: Javadoc.

Posted by gg...@apache.org.
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

commit 02a53b96e03e4c96a3b991224b94565957518958
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Jun 28 23:43:52 2020 -0400

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

diff --git a/src/main/java/org/apache/commons/text/TextStringBuilder.java b/src/main/java/org/apache/commons/text/TextStringBuilder.java
index f82116d..beea03c 100644
--- a/src/main/java/org/apache/commons/text/TextStringBuilder.java
+++ b/src/main/java/org/apache/commons/text/TextStringBuilder.java
@@ -2691,7 +2691,7 @@ public class TextStringBuilder implements CharSequence, Appendable, Serializable
      * making extra copies.
      *
      * @param reader Reader to read.
-     * @param count The maximum characters to read.
+     * @param count The maximum characters to read, a value &lt;= 0 returns 0.
      * @return The number of characters read.
      * @throws IOException if an I/O error occurs.
      *