You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2023/01/22 10:25:14 UTC

[struts] 12/15: Adjusts better formatting

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

lukaszlenart pushed a commit to branch http-interceptor
in repository https://gitbox.apache.org/repos/asf/struts.git

commit a576d628d3455c014be49f885aeb969eaadfa161
Author: Lukasz Lenart <lu...@gmail.com>
AuthorDate: Sun Sep 21 21:53:19 2014 +0200

    Adjusts better formatting
---
 .../struts2/interceptor/httpmethod/HttpMethodInterceptor.java      | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/struts2/interceptor/httpmethod/HttpMethodInterceptor.java b/core/src/main/java/org/apache/struts2/interceptor/httpmethod/HttpMethodInterceptor.java
index 706046061..668f39ce0 100644
--- a/core/src/main/java/org/apache/struts2/interceptor/httpmethod/HttpMethodInterceptor.java
+++ b/core/src/main/java/org/apache/struts2/interceptor/httpmethod/HttpMethodInterceptor.java
@@ -35,7 +35,12 @@ import java.util.List;
  */
 public class HttpMethodInterceptor extends AbstractInterceptor {
 
-    public static final Class[] HTTP_METHOD_ANNOTATIONS = {AllowedHttpMethod.class, HttpPost.class, HttpGet.class, HttpGetOrPost.class};
+    public static final Class[] HTTP_METHOD_ANNOTATIONS = {
+            AllowedHttpMethod.class,
+            HttpPost.class,
+            HttpGet.class,
+            HttpGetOrPost.class
+    };
 
     private static final Logger LOG = LoggerFactory.getLogger(HttpMethodInterceptor.class);