You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by pa...@apache.org on 2019/07/27 09:45:16 UTC

[commons-text] branch master updated: Fix checkstyle violations in StringSubstitutor#createInterpolator.

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

pascalschumacher 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 b299b1c  Fix checkstyle violations in StringSubstitutor#createInterpolator.
b299b1c is described below

commit b299b1cac6ffccb7613178e5311995e779a4091a
Author: Pascal Schumacher <pa...@gmx.net>
AuthorDate: Sat Jul 27 11:45:07 2019 +0200

    Fix checkstyle violations in StringSubstitutor#createInterpolator.
---
 src/main/java/org/apache/commons/text/StringSubstitutor.java | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/commons/text/StringSubstitutor.java b/src/main/java/org/apache/commons/text/StringSubstitutor.java
index fa33d61..6764fe6 100644
--- a/src/main/java/org/apache/commons/text/StringSubstitutor.java
+++ b/src/main/java/org/apache/commons/text/StringSubstitutor.java
@@ -182,8 +182,9 @@ public class StringSubstitutor {
             StringMatcherFactory.INSTANCE.stringMatcher(DEFAULT_VAR_DEFAULT);
 
     /**
-     * Creates a new instance using the interpolator string lookup {@link StringLookupFactory#interpolatorStringLookup()}.
-     * 
+     * Creates a new instance using the interpolator string lookup
+     * {@link StringLookupFactory#interpolatorStringLookup()}.
+     *
      * @return a new instance using the interpolator string lookup.
      * @see StringLookupFactory#interpolatorStringLookup()
      * @since 1.8
@@ -191,7 +192,7 @@ public class StringSubstitutor {
     public static StringSubstitutor createInterpolator() {
         return new StringSubstitutor(StringLookupFactory.INSTANCE.interpolatorStringLookup());
     }
-    
+
     /**
      * Replaces all the occurrences of variables in the given source object with their matching values from the map.
      *