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

aldettinger pushed a commit to branch CAMEL-13965
in repository https://gitbox.apache.org/repos/asf/camel.git

commit f320fba83aeb03a35a5de5d24acac4262d008034
Author: aldettinger <aldettin...@gmail.com>
AuthorDate: Thu Sep 12 10:52:31 2019 +0200

    CAMEL-13965: Fixed some unused and deprecated statements
---
 .../org/apache/camel/test/spring/junit5/RouteCoverageEventNotifier.java | 1 -
 .../test/spring/CamelSpringOverridePropertiesForPropertyInjectTest.java | 2 +-
 .../test/java/org/apache/camel/test/spring/CamelSpringPlainTest.java    | 2 --
 3 files changed, 1 insertion(+), 4 deletions(-)

diff --git 
a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/RouteCoverageEventNotifier.java
 
b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/RouteCoverageEventNotifier.java
index b5b6d8e..3642323 100644
--- 
a/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/RouteCoverageEventNotifier.java
+++ 
b/components/camel-test-spring-junit5/src/main/java/org/apache/camel/test/spring/junit5/RouteCoverageEventNotifier.java
@@ -20,7 +20,6 @@ import java.util.function.Function;
 
 import org.apache.camel.CamelContext;
 import org.apache.camel.spi.CamelEvent;
-import org.apache.camel.spi.CamelEvent.CamelContextEvent;
 import org.apache.camel.spi.CamelEvent.CamelContextStoppingEvent;
 import org.apache.camel.support.EventNotifierSupport;
 
diff --git 
a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringOverridePropertiesForPropertyInjectTest.java
 
b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringOverridePropertiesForPropertyInjectTest.java
index eb8498f..aa576c0 100644
--- 
a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringOverridePropertiesForPropertyInjectTest.java
+++ 
b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringOverridePropertiesForPropertyInjectTest.java
@@ -36,7 +36,7 @@ public class 
CamelSpringOverridePropertiesForPropertyInjectTest {
     
     private static final String EXPECTED_PROPERTY_VALUE = "The value is 
overriden";
     
-    @Produce(uri = "direct:start-override-route")
+    @Produce("direct:start-override-route")
     private ProducerTemplate start;
 
     @UseOverridePropertiesWithPropertiesComponent
diff --git 
a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringPlainTest.java
 
b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringPlainTest.java
index e9c20ae..84e2622 100644
--- 
a/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringPlainTest.java
+++ 
b/components/camel-test-spring-junit5/src/test/java/org/apache/camel/test/spring/CamelSpringPlainTest.java
@@ -26,14 +26,12 @@ import org.apache.camel.ServiceStatus;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.impl.engine.DefaultManagementStrategy;
 import org.apache.camel.test.spring.junit5.CamelSpringTest;
-import org.apache.camel.test.spring.junit5.CamelTestContextBootstrapper;
 import org.apache.camel.test.spring.junit5.StopWatchTestExecutionListener;
 import org.apache.camel.util.StopWatch;
 import org.junit.jupiter.api.Test;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.test.annotation.DirtiesContext;
 import org.springframework.test.annotation.DirtiesContext.ClassMode;
-import org.springframework.test.context.BootstrapWith;
 import org.springframework.test.context.ContextConfiguration;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;

Reply via email to