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

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


The following commit(s) were added to refs/heads/main by this push:
     new ee7702e017 Fix IDE warning
ee7702e017 is described below

commit ee7702e017764525fb6098ca444e0bd9577c84b6
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Jun 24 22:35:06 2026 +0100

    Fix IDE warning
---
 test/org/apache/catalina/authenticator/TestBasicAuthParser.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/org/apache/catalina/authenticator/TestBasicAuthParser.java 
b/test/org/apache/catalina/authenticator/TestBasicAuthParser.java
index 5cfeeea034..ea1b1d207e 100644
--- a/test/org/apache/catalina/authenticator/TestBasicAuthParser.java
+++ b/test/org/apache/catalina/authenticator/TestBasicAuthParser.java
@@ -169,6 +169,7 @@ public class TestBasicAuthParser {
     public void testMissingUsername() throws Exception {
         final String EMPTY_USER_NAME = "";
         final BasicAuthHeader AUTH_HEADER = new BasicAuthHeader(NICE_METHOD, 
EMPTY_USER_NAME, PASSWORD);
+        @SuppressWarnings("unused")
         BasicAuthenticator.BasicCredentials credentials =
                 new 
BasicAuthenticator.BasicCredentials(AUTH_HEADER.getHeader(), 
StandardCharsets.UTF_8);
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to