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 2019/03/28 14:21:35 UTC
[camel] branch master updated: Camel-Ehcache: Polished
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 a9aee00 Camel-Ehcache: Polished
a9aee00 is described below
commit a9aee005f9cb77a624187dfa59dce2acd966d1da
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Mar 28 15:21:05 2019 +0100
Camel-Ehcache: Polished
---
.../camel/component/ehcache/EhcacheCacheConfigurationTest.java | 8 ++++----
.../component/ehcache/EhcacheComponentConfigurationTest.java | 2 +-
.../apache/camel/component/ehcache/EhcacheConfigurationTest.java | 4 ++--
.../camel/component/ehcache/EhcacheSpringConfigurationTest.java | 4 ++--
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/EhcacheCacheConfigurationTest.java b/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/EhcacheCacheConfigurationTest.java
index 7a52916..aeec177 100644
--- a/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/EhcacheCacheConfigurationTest.java
+++ b/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/EhcacheCacheConfigurationTest.java
@@ -34,13 +34,13 @@ import org.ehcache.config.units.MemoryUnit;
import org.junit.Test;
public class EhcacheCacheConfigurationTest extends CamelTestSupport {
- @EndpointInject(uri = "ehcache:myProgrammaticCacheConf?configuration=#myProgrammaticConfiguration")
+ @EndpointInject("ehcache:myProgrammaticCacheConf?configuration=#myProgrammaticConfiguration")
private EhcacheEndpoint ehcacheProgrammaticConf;
- @EndpointInject(uri = "ehcache:myFileCacheConf?keyType=java.lang.String&valueType=java.lang.String&configurationUri=classpath:ehcache/ehcache-file-config.xml")
+ @EndpointInject("ehcache:myFileCacheConf?keyType=java.lang.String&valueType=java.lang.String&configurationUri=classpath:ehcache/ehcache-file-config.xml")
private EhcacheEndpoint ehcacheFileConf;
- @EndpointInject(uri = "ehcache:myUserCacheConf")
+ @EndpointInject("ehcache:myUserCacheConf")
private EhcacheEndpoint ehcacheUserConf;
- @EndpointInject(uri = "ehcache:myCache?cacheManager=#myCacheManager&keyType=java.lang.String&valueType=java.lang.String")
+ @EndpointInject("ehcache:myCache?cacheManager=#myCacheManager&keyType=java.lang.String&valueType=java.lang.String")
private EhcacheEndpoint ehcacheCacheManager;
@Override
diff --git a/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/EhcacheComponentConfigurationTest.java b/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/EhcacheComponentConfigurationTest.java
index 887a30c..1b1fa81 100644
--- a/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/EhcacheComponentConfigurationTest.java
+++ b/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/EhcacheComponentConfigurationTest.java
@@ -32,7 +32,7 @@ import org.ehcache.config.units.MemoryUnit;
import org.junit.Test;
public class EhcacheComponentConfigurationTest extends CamelTestSupport {
- @EndpointInject(uri = "ehcache:myCache")
+ @EndpointInject("ehcache:myCache")
private EhcacheEndpoint endpoint;
@Override
diff --git a/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/EhcacheConfigurationTest.java b/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/EhcacheConfigurationTest.java
index 89fafbd..a32e200 100644
--- a/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/EhcacheConfigurationTest.java
+++ b/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/EhcacheConfigurationTest.java
@@ -33,9 +33,9 @@ import org.ehcache.core.Ehcache;
import org.junit.Test;
public class EhcacheConfigurationTest extends CamelTestSupport {
- @EndpointInject(uri = "ehcache:globalConfig")
+ @EndpointInject("ehcache:globalConfig")
EhcacheEndpoint globalConfig;
- @EndpointInject(uri = "ehcache:customConfig")
+ @EndpointInject("ehcache:customConfig")
EhcacheEndpoint customConfig;
@Override
diff --git a/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/EhcacheSpringConfigurationTest.java b/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/EhcacheSpringConfigurationTest.java
index c0dd232..cafeec3 100644
--- a/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/EhcacheSpringConfigurationTest.java
+++ b/components/camel-ehcache/src/test/java/org/apache/camel/component/ehcache/EhcacheSpringConfigurationTest.java
@@ -30,9 +30,9 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
public class EhcacheSpringConfigurationTest extends CamelSpringTestSupport {
- @EndpointInject(uri = "ehcache://myProgrammaticCacheConf?configuration=#myProgrammaticConfiguration")
+ @EndpointInject("ehcache://myProgrammaticCacheConf?configuration=#myProgrammaticConfiguration")
private EhcacheEndpoint ehcacheConf;
- @EndpointInject(uri = "ehcache://myFileCacheConf?keyType=java.lang.String&valueType=java.lang.String&configurationUri=classpath:ehcache/ehcache-file-config.xml")
+ @EndpointInject("ehcache://myFileCacheConf?keyType=java.lang.String&valueType=java.lang.String&configurationUri=classpath:ehcache/ehcache-file-config.xml")
private EhcacheEndpoint ehcacheFileConf;
@Override