You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/03/08 13:53:11 UTC

[camel] branch master updated: Camel-Spring: Fixed build

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

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 74bf297  Camel-Spring: Fixed build
74bf297 is described below

commit 74bf29789edc012e8d623753dc013d3bb813c756
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Sun Mar 8 14:45:58 2020 +0100

    Camel-Spring: Fixed build
---
 .../src/test/java/org/apache/camel/spring/bind/BeanInfoTest.java       | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/components/camel-spring/src/test/java/org/apache/camel/spring/bind/BeanInfoTest.java b/components/camel-spring/src/test/java/org/apache/camel/spring/bind/BeanInfoTest.java
index 394673a..b7c7aae 100644
--- a/components/camel-spring/src/test/java/org/apache/camel/spring/bind/BeanInfoTest.java
+++ b/components/camel-spring/src/test/java/org/apache/camel/spring/bind/BeanInfoTest.java
@@ -33,7 +33,6 @@ import org.junit.Test;
 public class BeanInfoTest extends Assert {
     protected DefaultCamelContext camelContext = new DefaultCamelContext();
     protected Exchange exchange = new DefaultExchange(camelContext);
-    protected DefaultParameterMappingStrategy strategy = new DefaultParameterMappingStrategy();
     protected ExampleBean bean = new ExampleBean();
     protected BeanInfo info;
 
@@ -64,6 +63,6 @@ public class BeanInfoTest extends Assert {
     public void setUp() throws Exception {
 
         exchange.getIn().setBody("James");
-        info = new BeanInfo(camelContext, bean.getClass(), strategy);
+        info = new BeanInfo(camelContext, bean.getClass(), DefaultParameterMappingStrategy.INSTANCE);
     }
 }