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 2021/04/20 17:40:31 UTC

[tomcat] branch 8.5.x updated: Remove unnecessary code. No need to escape tabs in String literals.

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

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


The following commit(s) were added to refs/heads/8.5.x by this push:
     new 7ab08f1  Remove unnecessary code. No need to escape tabs in String literals.
7ab08f1 is described below

commit 7ab08f1e40ce60d941e8e63918d58c1b23ee1b96
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Apr 20 18:37:32 2021 +0100

    Remove unnecessary code. No need to escape tabs in String literals.
---
 java/org/apache/jasper/compiler/Generator.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/java/org/apache/jasper/compiler/Generator.java b/java/org/apache/jasper/compiler/Generator.java
index eb4b5eb..c7f984e 100644
--- a/java/org/apache/jasper/compiler/Generator.java
+++ b/java/org/apache/jasper/compiler/Generator.java
@@ -2191,9 +2191,6 @@ class Generator {
                     // add a Smap for this line
                     n.addSmap(srcLine);
                     break;
-                case '\t': // Not sure we need this
-                    sb.append('\\').append('t');
-                    break;
                 default:
                     sb.append(ch);
                 }

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