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

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

commit fdb1b6c44a20df8be0666afccd3a409f4229d9e3
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Apr 17 08:37:22 2025 +0100

    Fix indent
---
 test/org/apache/jasper/runtime/TestJspRuntimeLibrary.java | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/test/org/apache/jasper/runtime/TestJspRuntimeLibrary.java 
b/test/org/apache/jasper/runtime/TestJspRuntimeLibrary.java
index ebf4d34a66..d7451de189 100644
--- a/test/org/apache/jasper/runtime/TestJspRuntimeLibrary.java
+++ b/test/org/apache/jasper/runtime/TestJspRuntimeLibrary.java
@@ -165,14 +165,14 @@ public class TestJspRuntimeLibrary extends TomcatBaseTest 
{
 
     @Test
     public void testNonstandardSetWithDefinedScope() {
-        final int[] scopes = {PageContext.PAGE_SCOPE, 
PageContext.REQUEST_SCOPE, PageContext.SESSION_SCOPE, 
PageContext.APPLICATION_SCOPE};
+        final int[] scopes = { PageContext.PAGE_SCOPE, 
PageContext.REQUEST_SCOPE, PageContext.SESSION_SCOPE,
+                PageContext.APPLICATION_SCOPE };
         for (int scope : scopes) {
-        JspRuntimeLibrary.nonstandardSetTag(pageContext, "var", "value", 
scope);
-        Assert.assertEquals("value", pageContext.getAttribute("var", scope));
+            JspRuntimeLibrary.nonstandardSetTag(pageContext, "var", "value", 
scope);
+            Assert.assertEquals("value", pageContext.getAttribute("var", 
scope));
 
-        JspRuntimeLibrary.nonstandardSetTag(pageContext, "var", null, scope);
-        Assert.assertEquals(null, pageContext.getAttribute("var", scope));
+            JspRuntimeLibrary.nonstandardSetTag(pageContext, "var", null, 
scope);
+            Assert.assertEquals(null, pageContext.getAttribute("var", scope));
         }
-
     }
 }


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

Reply via email to