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

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

commit e4ccd42f3c9bf1fd5f38a7d98bb115450e397c82
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Mar 20 15:03:04 2025 +0000

    Don't reformat inserted code blocks.
---
 java/org/apache/jasper/tagplugins/jstl/core/ForEach.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/java/org/apache/jasper/tagplugins/jstl/core/ForEach.java 
b/java/org/apache/jasper/tagplugins/jstl/core/ForEach.java
index 87c4b87854..19bdede07e 100644
--- a/java/org/apache/jasper/tagplugins/jstl/core/ForEach.java
+++ b/java/org/apache/jasper/tagplugins/jstl/core/ForEach.java
@@ -205,7 +205,7 @@ public final class ForEach implements TagPlugin {
      * Generate iterators for data types supported in items
      */
     private void generateIterators(TagPluginContext ctxt) {
-
+        //@formatter:off
         // Object[]
         ctxt.generateDeclaration("ObjectArrayIterator",
                 "private Iterator toIterator(final Object[] a){\n" +
@@ -344,6 +344,6 @@ public final class ForEach implements TagPlugin {
                 "  });\n" +
                 "}"
         );
-
+        //@formatter:on
     }
 }


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

Reply via email to