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 2021/09/21 11:42:36 UTC
[tomcat] branch 10.0.x updated: Remove use of deprecated API
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 ff7bf9a Remove use of deprecated API
ff7bf9a is described below
commit ff7bf9a0c6938ddb3d8806de82b5c96a02f508ef
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Sep 21 12:41:21 2021 +0100
Remove use of deprecated API
---
test/org/apache/catalina/startup/TomcatBaseTest.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/test/org/apache/catalina/startup/TomcatBaseTest.java b/test/org/apache/catalina/startup/TomcatBaseTest.java
index 7181e7a..8ea0503 100644
--- a/test/org/apache/catalina/startup/TomcatBaseTest.java
+++ b/test/org/apache/catalina/startup/TomcatBaseTest.java
@@ -452,7 +452,6 @@ public abstract class TomcatBaseTest extends LoggingBaseTest {
private static final long serialVersionUID = 1L;
- @SuppressWarnings("deprecation")
@Override
public void service(HttpServletRequest request,
HttpServletResponse response)
@@ -559,7 +558,7 @@ public abstract class TomcatBaseTest extends LoggingBaseTest {
out.println("SESSION-REQUESTED-ID-COOKIE: " +
request.isRequestedSessionIdFromCookie());
out.println("SESSION-REQUESTED-ID-URL: " +
- request.isRequestedSessionIdFromUrl());
+ request.isRequestedSessionIdFromURL());
out.println("SESSION-REQUESTED-ID-VALID: " +
request.isRequestedSessionIdValid());
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org