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 2023/01/13 13:38:20 UTC

[tomcat] 02/02: Fix Checkstyle warnings

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 2d40f367435821c883b0da5c677906711ad5ebfc
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri Jan 13 13:11:00 2023 +0000

    Fix Checkstyle warnings
---
 .../apache/catalina/filters/TesterHttpServletResponse.java   | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/test/org/apache/catalina/filters/TesterHttpServletResponse.java b/test/org/apache/catalina/filters/TesterHttpServletResponse.java
index 6451b1a300..88eef82c1d 100644
--- a/test/org/apache/catalina/filters/TesterHttpServletResponse.java
+++ b/test/org/apache/catalina/filters/TesterHttpServletResponse.java
@@ -215,13 +215,17 @@ public class TesterHttpServletResponse implements HttpServletResponse {
     public boolean containsHeader(String name) { return false; }
     @Override
     public String encodeRedirectURL(String url) { return null; }
-    /** @deprecated Do not use */
+    /**
+     * @deprecated Do not use
+     */
     @Override
     @Deprecated
     public String encodeRedirectUrl(String url) { return null; }
     @Override
     public String encodeURL(String url) { return null; }
-    /** @deprecated Do not use */
+    /**
+     * @deprecated Do not use
+     */
     @Override
     @Deprecated
     public String encodeUrl(String url) { return null; }
@@ -241,7 +245,9 @@ public class TesterHttpServletResponse implements HttpServletResponse {
     public void setDateHeader(String name, long value) {/* NOOP */}
     @Override
     public void setIntHeader(String name, int value) {/* NOOP */}
-    /** @deprecated Do not use */
+    /**
+     * @deprecated Do not use
+     */
     @Override
     @Deprecated
     public void setStatus(int status, String message) {/* NOOP */}


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