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 eb15fef  Checkstyle.
eb15fef is described below

commit eb15fef34cc453da7415972fd05628edfd071fb9
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Jun 28 11:30:52 2020 -0400

    Checkstyle.
---
 src/main/java/org/apache/commons/text/StringSubstitutor.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/apache/commons/text/StringSubstitutor.java 
b/src/main/java/org/apache/commons/text/StringSubstitutor.java
index 067cc7b..1f2c642 100644
--- a/src/main/java/org/apache/commons/text/StringSubstitutor.java
+++ b/src/main/java/org/apache/commons/text/StringSubstitutor.java
@@ -99,7 +99,7 @@ import org.apache.commons.text.matcher.StringMatcherFactory;
  * <p>
  * For example:
  * </p>
- * 
+ *
  * <pre>
  * // Build map
  * Map&lt;String, String&gt; valuesMap = new HashMap&lt;&gt;();
@@ -145,15 +145,15 @@ import 
org.apache.commons.text.matcher.StringMatcherFactory;
  *       "Base64 Decoder:        ${base64Decoder:SGVsbG9Xb3JsZCE=}\n"
  *     + "Base64 Encoder:        ${base64Encoder:HelloWorld!}\n"
  *     + "Java Constant:         ${const:java.awt.event.KeyEvent.VK_ESCAPE}\n"
- *     + "Date:                  ${date:yyyy-MM-dd}\n" 
+ *     + "Date:                  ${date:yyyy-MM-dd}\n"
  *     + "DNS:                   ${dns:address|apache.org}\n"
  *     + "Environment Variable:  ${env:USERNAME}\n"
  *     + "File Content:          
${file:UTF-8:src/test/resources/document.properties}\n"
- *     + "Java:                  ${java:version}\n" 
+ *     + "Java:                  ${java:version}\n"
  *     + "Localhost:             ${localhost:canonical-name}\n"
  *     + "Properties File:       
${properties:src/test/resources/document.properties::mykey}\n"
  *     + "Resource Bundle:       
${resourceBundle:org.example.testResourceBundleLookup:mykey}\n"
- *     + "Script:                ${script:javascript:3 + 4}\n" 
+ *     + "Script:                ${script:javascript:3 + 4}\n"
  *     + "System Property:       ${sys:user.dir}\n"
  *     + "URL Decoder:           ${urlDecoder:Hello%20World%21}\n"
  *     + "URL Encoder:           ${urlEncoder:Hello World!}\n"
@@ -168,7 +168,7 @@ import org.apache.commons.text.matcher.StringMatcherFactory;
  *
  * <h2>Using Recursive Variable Replacement</h2>
  * <p>
- * Variable replacement can work recursively by calling {@link 
#setEnableSubstitutionInVariables(boolean)} 
+ * Variable replacement can work recursively by calling {@link 
#setEnableSubstitutionInVariables(boolean)}
  * with {@code true}. If a variable value contains a variable then that 
variable will
  * also be replaced. Cyclic replacements are detected and will throw an 
exception.
  * </p>

Reply via email to