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 2023/03/02 10:35:24 UTC
[tomcat] branch 10.1.x updated: Fix formatting imported values that have multiple lines starting with \t
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new 8b1fd0605e Fix formatting imported values that have multiple lines starting with \t
8b1fd0605e is described below
commit 8b1fd0605e2c3e112272f7aef7422265fde34d13
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Mar 1 16:58:15 2023 +0000
Fix formatting imported values that have multiple lines starting with \t
---
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 c617c8d975..d7e73a7c56 100644
--- a/java/org/apache/tomcat/buildutil/translate/Utils.java
+++ b/java/org/apache/tomcat/buildutil/translate/Utils.java
@@ -34,7 +34,7 @@ import java.util.regex.Pattern;
public class Utils {
- private static final Pattern ESCAPE_LEADING_SPACE = Pattern.compile("^(\\s)", Pattern.MULTILINE);
+ private static final Pattern ESCAPE_LEADING_SPACE = Pattern.compile("^( )", Pattern.MULTILINE);
private static final Set<String> KEYS_WITH_UNNECESSARY_ESCAPING = new HashSet<>();
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org