You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by jp...@apache.org on 2018/07/04 11:55:43 UTC

[camel] branch camel-2.22.x updated: [CAMEL-12621] fix checkstyle

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

jpoth pushed a commit to branch camel-2.22.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-2.22.x by this push:
     new 5c51142  [CAMEL-12621] fix checkstyle
5c51142 is described below

commit 5c511422b5dc7d4652589bb68275ec7dab93ddf9
Author: jpoth <po...@gmail.com>
AuthorDate: Wed Jul 4 13:53:59 2018 +0200

    [CAMEL-12621] fix checkstyle
    
    (cherry picked from commit f19b8e5925deb241eff8f32ba983083106c4ee55)
---
 .../src/main/java/org/apache/camel/http/common/CamelServlet.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-http-common/src/main/java/org/apache/camel/http/common/CamelServlet.java b/components/camel-http-common/src/main/java/org/apache/camel/http/common/CamelServlet.java
index 1e7688d..9df103f 100644
--- a/components/camel-http-common/src/main/java/org/apache/camel/http/common/CamelServlet.java
+++ b/components/camel-http-common/src/main/java/org/apache/camel/http/common/CamelServlet.java
@@ -42,9 +42,9 @@ import org.slf4j.LoggerFactory;
  */
 public class CamelServlet extends HttpServlet {
     public static final String ASYNC_PARAM = "async";
+    public static final List<String> METHODS = Arrays.asList("GET", "HEAD", "POST", "PUT", "DELETE", "TRACE", "OPTIONS", "CONNECT", "PATCH");
 
     private static final long serialVersionUID = -7061982839117697829L;
-    public static final List<String> METHODS = Arrays.asList("GET", "HEAD", "POST", "PUT", "DELETE", "TRACE", "OPTIONS", "CONNECT", "PATCH");
 
     protected final Logger log = LoggerFactory.getLogger(getClass());