You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/04/28 19:14:02 UTC

[tomcat] branch master updated: Remove trailing whitespace on import

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

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/master by this push:
     new 76b1d73  Remove trailing whitespace on import
76b1d73 is described below

commit 76b1d7382c009ef678e2dca1ec1d124e3a14cfda
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Apr 28 20:13:13 2020 +0100

    Remove trailing whitespace on import
---
 java/org/apache/tomcat/buildutil/translate/Utils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/buildutil/translate/Utils.java b/java/org/apache/tomcat/buildutil/translate/Utils.java
index e7f7795..326d7fc 100644
--- a/java/org/apache/tomcat/buildutil/translate/Utils.java
+++ b/java/org/apache/tomcat/buildutil/translate/Utils.java
@@ -73,7 +73,7 @@ public class Utils {
         if (result.contains("[{0}]")) {
             result = FIX_SINGLE_QUOTE.matcher(result).replaceAll("''");
         }
-        return result;
+        return result.trim();
     }
 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org