This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new 555034d8ce Fix IDE warning for deprecation 555034d8ce is described below commit 555034d8cefb8ff98088e6490670e06a03e9d2db Author: Mark Thomas <ma...@apache.org> AuthorDate: Fri May 3 17:32:48 2024 +0100 Fix IDE warning for deprecation --- java/org/apache/tomcat/util/http/LegacyCookieProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/tomcat/util/http/LegacyCookieProcessor.java b/java/org/apache/tomcat/util/http/LegacyCookieProcessor.java index 8d5a6161fc..84dec6310b 100644 --- a/java/org/apache/tomcat/util/http/LegacyCookieProcessor.java +++ b/java/org/apache/tomcat/util/http/LegacyCookieProcessor.java @@ -219,7 +219,7 @@ public final class LegacyCookieProcessor extends CookieProcessorBase { log.debug("Cookies: Parsing b[]: " + cookieValue.toString()); } ByteChunk bc = cookieValue.getByteChunk(); - processCookieHeader(bc.getBytes(), bc.getOffset(), bc.getLength(), serverCookies); + processCookieHeader(bc.getBytes(), bc.getStart(), bc.getLength(), serverCookies); } // search from the next position --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org