Repository: camel Updated Branches: refs/heads/master 6721bb4b4 -> eb69733b4
[Minor] Clean up use of deprecated method Signed-off-by: Gregor Zurowski <gre...@zurowski.org> Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/3d818dc3 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/3d818dc3 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/3d818dc3 Branch: refs/heads/master Commit: 3d818dc34b87cfff517ea2a7b14edfb077126c3d Parents: 6721bb4 Author: Gregor Zurowski <gre...@zurowski.org> Authored: Fri Jun 2 09:28:36 2017 +0200 Committer: Gregor Zurowski <gre...@zurowski.org> Committed: Fri Jun 2 09:28:36 2017 +0200 ---------------------------------------------------------------------- .../camel/spring/boot/RouteConfigWithCamelContextInjected.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/3d818dc3/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/RouteConfigWithCamelContextInjected.java ---------------------------------------------------------------------- diff --git a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/RouteConfigWithCamelContextInjected.java b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/RouteConfigWithCamelContextInjected.java index 8f239b3..042f7a8 100644 --- a/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/RouteConfigWithCamelContextInjected.java +++ b/components/camel-spring-boot/src/test/java/org/apache/camel/spring/boot/RouteConfigWithCamelContextInjected.java @@ -32,7 +32,7 @@ public class RouteConfigWithCamelContextInjected { @Bean public RoutesBuilder routeCreatedWithInjectedCamelContext() { - Assert.notNull(camelContext); + Assert.notNull(camelContext, "camelContext must not be null"); return new RouteBuilder() { @Override public void configure() throws Exception {