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 07e6d967f9 Simplify 07e6d967f9 is described below commit 07e6d967f990dd55352aa37172b64d1f2ead310b Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Oct 6 18:05:17 2022 +0100 Simplify --- .../catalina/authenticator/TestSSOnonLoginAndDigestAuthenticator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/org/apache/catalina/authenticator/TestSSOnonLoginAndDigestAuthenticator.java b/test/org/apache/catalina/authenticator/TestSSOnonLoginAndDigestAuthenticator.java index c17e35a9f8..bd32468f90 100644 --- a/test/org/apache/catalina/authenticator/TestSSOnonLoginAndDigestAuthenticator.java +++ b/test/org/apache/catalina/authenticator/TestSSOnonLoginAndDigestAuthenticator.java @@ -384,7 +384,7 @@ public class TestSSOnonLoginAndDigestAuthenticator extends TomcatBaseTest { respHeaders.get(AuthenticatorBase.AUTH_HEADER_NAME); // Assume there is only one - String authHeader = authHeaders.iterator().next(); + String authHeader = authHeaders.get(0); String searchFor = token + AUTH_PREFIX; int start = authHeader.indexOf(searchFor) + searchFor.length(); int end = authHeader.indexOf(AUTH_SUFFIX, start); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org