You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2023/03/22 13:28:49 UTC

[camel-spring-boot] 02/03: CAMEL-19177: camel-platform-http - Spring Boot implementation that use directly the HTTP server (#793)

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

davsclaus pushed a commit to branch camel-spring-boot-3.x
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git

commit f9cc9b181d1ddef3d9f45c0e89524c6870444272
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Mar 22 14:14:28 2023 +0100

    CAMEL-19177: camel-platform-http - Spring Boot implementation that use directly the HTTP server (#793)
---
 .../component/platform/http/springboot/CamelRequestHandlerMapping.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/components-starter/camel-platform-http-starter/src/main/java/org/apache/camel/component/platform/http/springboot/CamelRequestHandlerMapping.java b/components-starter/camel-platform-http-starter/src/main/java/org/apache/camel/component/platform/http/springboot/CamelRequestHandlerMapping.java
index f2b9082b9f8..93ad72455ae 100644
--- a/components-starter/camel-platform-http-starter/src/main/java/org/apache/camel/component/platform/http/springboot/CamelRequestHandlerMapping.java
+++ b/components-starter/camel-platform-http-starter/src/main/java/org/apache/camel/component/platform/http/springboot/CamelRequestHandlerMapping.java
@@ -32,15 +32,12 @@ import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 import java.lang.reflect.Method;
 import java.util.ArrayList;
-import java.util.HashMap;
 import java.util.List;
-import java.util.Map;
 
 public class CamelRequestHandlerMapping extends RequestMappingHandlerMapping implements PlatformHttpListener {
 
     private final PlatformHttpComponent component;
     private final PlatformHttpEngine engine;
-    private final Map<String, RequestMappingInfo> mappings = new HashMap<>();
 
     public CamelRequestHandlerMapping(PlatformHttpComponent component, PlatformHttpEngine engine) {
         this.component = component;