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 6ec16597b0 Fix IDE warnings
6ec16597b0 is described below
commit 6ec16597b0d387af5cae36e7bd6d2b6d0a2376bf
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Sep 10 14:16:43 2025 +0100
Fix IDE warnings
---
test/org/apache/catalina/manager/TestManagerWebapp.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/test/org/apache/catalina/manager/TestManagerWebapp.java
b/test/org/apache/catalina/manager/TestManagerWebapp.java
index 25fed144ee..fc47413f8d 100644
--- a/test/org/apache/catalina/manager/TestManagerWebapp.java
+++ b/test/org/apache/catalina/manager/TestManagerWebapp.java
@@ -503,7 +503,9 @@ public class TestManagerWebapp extends TomcatBaseTest {
tomcat.stop();
}
- /**
+
+
+ /*
* Test case for <a
href="https://bz.apache.org/bugzilla/show_bug.cgi?id=57700">Bug 57700</a>.
*/
@Test
@@ -534,7 +536,7 @@ public class TestManagerWebapp extends TomcatBaseTest {
Assert.assertTrue(appRoot.mkdirs() && appRoot.isDirectory());
addDeleteOnTearDown(appRoot);
- try (TomcatBaseTest.ContainerInjector ignored =
+ try (@SuppressWarnings("unused") TomcatBaseTest.ContainerInjector
ignored =
TomcatBaseTest.ContainerInjector.inject(ctx.getParent(),
c -> c.getPath().equals("/bug57700"),
c -> {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]