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 0ad95b288a Code clean-up - formatting. No functional change. 0ad95b288a is described below commit 0ad95b288a3a1f5b69264acfd88d59c9f68b2d48 Author: Mark Thomas <ma...@apache.org> AuthorDate: Wed Nov 6 10:42:02 2024 +0000 Code clean-up - formatting. No functional change. --- java/org/apache/catalina/connector/Response.java | 28 ++++++++++------------ .../apache/catalina/connector/ResponseFacade.java | 28 ++++++++++------------ 2 files changed, 24 insertions(+), 32 deletions(-) diff --git a/java/org/apache/catalina/connector/Response.java b/java/org/apache/catalina/connector/Response.java index a291edcec9..0baee3e1e7 100644 --- a/java/org/apache/catalina/connector/Response.java +++ b/java/org/apache/catalina/connector/Response.java @@ -1054,14 +1054,12 @@ public class Response implements HttpServletResponse { /** * {@inheritDoc} - * - * <i>Deprecated functionality</i>: calling <code>sendError</code> with a status - * code of 103 differs from the usual behavior. Sending 103 will trigger - * the container to send a "103 Early Hints" informational response - * including all current headers. The application can continue to use - * the request and response after calling sendError with a 103 status code, - * including triggering a more typical response of any type. - * + * <p> + * <i>Deprecated functionality</i>: calling <code>sendError</code> with a status code of 103 differs from the usual + * behavior. Sending 103 will trigger the container to send a "103 Early Hints" informational response including all + * current headers. The application can continue to use the request and response after calling sendError with a 103 + * status code, including triggering a more typical response of any type. + * <p> * Starting with Tomcat 12, applications should use {@link #sendEarlyHints}. */ @Override @@ -1072,14 +1070,12 @@ public class Response implements HttpServletResponse { /** * {@inheritDoc} - * - * <i>Deprecated functionality</i>: calling <code>sendError</code> with a status - * code of 103 differs from the usual behavior. Sending 103 will trigger - * the container to send a "103 Early Hints" informational response - * including all current headers. The application can continue to use - * the request and response after calling sendError with a 103 status code, - * including triggering a more typical response of any type. - * + * <p> + * <i>Deprecated functionality</i>: calling <code>sendError</code> with a status code of 103 differs from the usual + * behavior. Sending 103 will trigger the container to send a "103 Early Hints" informational response including all + * current headers. The application can continue to use the request and response after calling sendError with a 103 + * status code, including triggering a more typical response of any type. + * <p> * Starting with Tomcat 12, applications should use {@link #sendEarlyHints}. */ @Override diff --git a/java/org/apache/catalina/connector/ResponseFacade.java b/java/org/apache/catalina/connector/ResponseFacade.java index 3d03b1f739..f585fee7f4 100644 --- a/java/org/apache/catalina/connector/ResponseFacade.java +++ b/java/org/apache/catalina/connector/ResponseFacade.java @@ -252,14 +252,12 @@ public class ResponseFacade implements HttpServletResponse { /** * {@inheritDoc} - * - * <i>Deprecated functionality</i>: calling <code>sendError</code> with a status - * code of 103 differs from the usual behavior. Sending 103 will trigger - * the container to send a "103 Early Hints" informational response - * including all current headers. The application can continue to use - * the request and response after calling sendError with a 103 status code, - * including triggering a more typical response of any type. - * + * <p> + * <i>Deprecated functionality</i>: calling <code>sendError</code> with a status code of 103 differs from the usual + * behavior. Sending 103 will trigger the container to send a "103 Early Hints" informational response including all + * current headers. The application can continue to use the request and response after calling sendError with a 103 + * status code, including triggering a more typical response of any type. + * <p> * Starting with Tomcat 12, applications should use {@link #sendEarlyHints}. */ @Override @@ -276,14 +274,12 @@ public class ResponseFacade implements HttpServletResponse { /** * {@inheritDoc} - * - * <i>Deprecated functionality</i>: calling <code>sendError</code> with a status - * code of 103 differs from the usual behavior. Sending 103 will trigger - * the container to send a "103 Early Hints" informational response - * including all current headers. The application can continue to use - * the request and response after calling sendError with a 103 status code, - * including triggering a more typical response of any type. - * + * <p> + * <i>Deprecated functionality</i>: calling <code>sendError</code> with a status code of 103 differs from the usual + * behavior. Sending 103 will trigger the container to send a "103 Early Hints" informational response including all + * current headers. The application can continue to use the request and response after calling sendError with a 103 + * status code, including triggering a more typical response of any type. + * <p> * Starting with Tomcat 12, applications should use {@link #sendEarlyHints}. */ @Override --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org