Fix IDE warning for deprecation
diff --git a/java/org/apache/tomcat/util/http/LegacyCookieProcessor.java b/java/org/apache/tomcat/util/http/LegacyCookieProcessor.java
index 8d5a616..84dec63 100644
--- a/java/org/apache/tomcat/util/http/LegacyCookieProcessor.java
+++ b/java/org/apache/tomcat/util/http/LegacyCookieProcessor.java
@@ -219,7 +219,7 @@
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