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

lukaszlenart pushed a commit to branch fix/WW-5374-context
in repository https://gitbox.apache.org/repos/asf/struts.git

commit d5932f82faf914fe16c680ba3479e55195fe5207
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Thu Jan 18 11:24:08 2024 +0100

    WW-5374 Uses @code instead of <tt/>
---
 .../main/java/org/apache/struts2/interceptor/csp/CspInterceptor.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/core/src/main/java/org/apache/struts2/interceptor/csp/CspInterceptor.java 
b/core/src/main/java/org/apache/struts2/interceptor/csp/CspInterceptor.java
index aca583a32..32d677786 100644
--- a/core/src/main/java/org/apache/struts2/interceptor/csp/CspInterceptor.java
+++ b/core/src/main/java/org/apache/struts2/interceptor/csp/CspInterceptor.java
@@ -108,7 +108,7 @@ public final class CspInterceptor extends 
AbstractInterceptor {
     /**
      * Enables enforcing mode, by default all exceptions are only reported
      *
-     * @param enforcingMode <tt>true</tt> to enable enforcing mode, 
<tt>false</tt> to keep reporting mode.
+     * @param enforcingMode {@code true} to enable enforcing mode, {@code 
false} to keep reporting mode.
      */
     public void setEnforcingMode(boolean enforcingMode) {
         this.enforcingMode = enforcingMode;
@@ -117,7 +117,8 @@ public final class CspInterceptor extends 
AbstractInterceptor {
     /**
      * Sets whether to prepend the servlet context path to the {@link 
#reportUri}.
      *
-     * @param prependServletContext true</tt> to prepend the location with the 
servlet context path, <tt>false</tt> otherwise.
+     * @param prependServletContext {@code true} to prepend the location with 
the servlet context path,
+     *                              {@code false} otherwise.
      */
     public void setPrependServletContext(boolean prependServletContext) {
         this.prependServletContext = prependServletContext;

Reply via email to