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 2019/08/01 08:23:39 UTC

[tomcat] 02/03: Fix unused code warnings

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

commit 35939c495b2b3fa0d48450ba783e119dc9bb2069
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Aug 1 09:03:42 2019 +0100

    Fix unused code warnings
---
 test/org/apache/catalina/authenticator/TestAuthInfoResponseHeaders.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/org/apache/catalina/authenticator/TestAuthInfoResponseHeaders.java b/test/org/apache/catalina/authenticator/TestAuthInfoResponseHeaders.java
index 9c27410..302a140 100644
--- a/test/org/apache/catalina/authenticator/TestAuthInfoResponseHeaders.java
+++ b/test/org/apache/catalina/authenticator/TestAuthInfoResponseHeaders.java
@@ -101,7 +101,7 @@ public class TestAuthInfoResponseHeaders extends TomcatBaseTest {
         Map<String,List<String>> reqHeaders = new HashMap<>();
 
         List<String> auth = new ArrayList<>();
-        auth.add(new BasicCredentials("Basic", USER, PWD).getCredentials());
+        auth.add(new BasicCredentials("Basic", user, pwd).getCredentials());
         reqHeaders.put(CLIENT_AUTH_HEADER, auth);
 
         List<String> forwardedFor = new ArrayList<>();


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