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 2019/08/09 21:20:45 UTC

[commons-text] branch master updated: Checktyle.

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 adf4420  Checktyle.
adf4420 is described below

commit adf4420e9cdaed4c427e68aa871ca8f2a47fe496
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Aug 9 17:20:40 2019 -0400

    Checktyle.
---
 ...ubstitutorWithInterpolatorStringLookupTest.java | 38 +++++++++++-----------
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/src/test/java/org/apache/commons/text/StringSubstitutorWithInterpolatorStringLookupTest.java b/src/test/java/org/apache/commons/text/StringSubstitutorWithInterpolatorStringLookupTest.java
index 8fac019..2c94e5f 100644
--- a/src/test/java/org/apache/commons/text/StringSubstitutorWithInterpolatorStringLookupTest.java
+++ b/src/test/java/org/apache/commons/text/StringSubstitutorWithInterpolatorStringLookupTest.java
@@ -65,25 +65,25 @@ public class StringSubstitutorWithInterpolatorStringLookupTest {
         final StringSubstitutor interpolator = StringSubstitutor.createInterpolator();
         interpolator.setEnableSubstitutionInVariables(true); // Allows for nested $'s.
         final String text = interpolator.replace(
-                "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" +
-                "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" +
-                "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" +
-                "System Property:       ${sys:user.dir}\n" +
-                "URL Decoder:           ${urlDecoder:Hello%20World%21}\n" +
-                "URL Encoder:           ${urlEncoder:Hello World!}\n" +
-                "URL Content (HTTP):    ${url:UTF-8:http://www.apache.org}\n" +
-                "URL Content (HTTPS):   ${url:UTF-8:https://www.apache.org}\n" +
-                "URL Content (File):    ${url:UTF-8:file:///${sys:user.dir}/src/test/resources/document.properties}\n" +
-                "XML XPath:             ${xml:src/test/resources/document.xml:/root/path/to/node}\n"
+                "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"
+              + "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"
+              + "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"
+              + "System Property:       ${sys:user.dir}\n"
+              + "URL Decoder:           ${urlDecoder:Hello%20World%21}\n"
+              + "URL Encoder:           ${urlEncoder:Hello World!}\n"
+              + "URL Content (HTTP):    ${url:UTF-8:http://www.apache.org}\n"
+              + "URL Content (HTTPS):   ${url:UTF-8:https://www.apache.org}\n"
+              + "URL Content (File):    ${url:UTF-8:file:///${sys:user.dir}/src/test/resources/document.properties}\n"
+              + "XML XPath:             ${xml:src/test/resources/document.xml:/root/path/to/node}\n"
         );
         // @formatter:on
         Assertions.assertNotNull(text);