You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/10/06 17:05:40 UTC

[tomcat] branch 10.0.x updated: Simplify

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

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


The following commit(s) were added to refs/heads/10.0.x by this push:
     new f7cb60777c Simplify
f7cb60777c is described below

commit f7cb60777cfae34a7860c4aa575e2d2496835696
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 c4efc3e63c..fbf14fe209 100644
--- a/test/org/apache/catalina/authenticator/TestSSOnonLoginAndDigestAuthenticator.java
+++ b/test/org/apache/catalina/authenticator/TestSSOnonLoginAndDigestAuthenticator.java
@@ -385,7 +385,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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org