This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push:
new 6281c57d2f Additional performance tweak for BZ 68558
6281c57d2f is described below
commit 6281c57d2f379244fbe7b691d5e0f96d88440d89
Author: Mark Thomas <[email protected]>
AuthorDate: Mon Feb 12 23:32:06 2024 +0000
Additional performance tweak for BZ 68558
https://bz.apache.org/bugzilla/show_bug.cgi?id=68558
---
java/org/apache/tomcat/util/http/MimeHeaders.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/tomcat/util/http/MimeHeaders.java
b/java/org/apache/tomcat/util/http/MimeHeaders.java
index 065a19a223..56f4ba298b 100644
--- a/java/org/apache/tomcat/util/http/MimeHeaders.java
+++ b/java/org/apache/tomcat/util/http/MimeHeaders.java
@@ -483,7 +483,7 @@ class ValuesEnumerator implements Enumeration<String> {
public String nextElement() {
MessageBytes current = next;
findNext();
- return current.toString();
+ return current.toStringType();
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]