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 2022/02/24 14:52:37 UTC

[tomcat] branch main updated: Improve JavaDoc

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 d6c5b3a  Improve JavaDoc
d6c5b3a is described below

commit d6c5b3a4cd758e87b239b8a65765e88f6c93e809
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Feb 24 14:51:00 2022 +0000

    Improve JavaDoc
---
 java/jakarta/servlet/http/HttpServlet.java | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/java/jakarta/servlet/http/HttpServlet.java b/java/jakarta/servlet/http/HttpServlet.java
index a00c358..8df75d6 100644
--- a/java/jakarta/servlet/http/HttpServlet.java
+++ b/java/jakarta/servlet/http/HttpServlet.java
@@ -104,11 +104,16 @@ public abstract class HttpServlet extends GenericServlet {
     public static final String LEGACY_DO_HEAD = "jakarta.servlet.http.legacyDoHead";
 
     private final transient Object cachedAllowHeaderValueLock = new Object();
+
     /**
      * Cached value of the HTTP {@code Allow} header for this servlet.
      */
     private volatile String cachedAllowHeaderValue = null;
 
+    /**
+     * Cached value read from {@link HttpServlet#LEGACY_DO_HEAD} system
+     * property.
+     */
     private volatile boolean cachedUseLegacyDoHead;
 
     /**

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