camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lburgazz...@apache.org
Subject camel git commit: Fix typo
Date Wed, 03 Aug 2016 07:34:10 GMT
Repository: camel
Updated Branches:
  refs/heads/master 9d6b69b32 -> 986a85f68


Fix typo


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/986a85f6
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/986a85f6
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/986a85f6

Branch: refs/heads/master
Commit: 986a85f688a4ea5af797f978fd154c36a7145476
Parents: 9d6b69b
Author: lburgazzoli <lburgazzoli@gmail.com>
Authored: Wed Aug 3 09:31:51 2016 +0200
Committer: lburgazzoli <lburgazzoli@gmail.com>
Committed: Wed Aug 3 09:33:31 2016 +0200

----------------------------------------------------------------------
 .../org/apache/camel/component/jcache/JCacheEndpoint.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/986a85f6/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheEndpoint.java
b/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheEndpoint.java
index b81ad00..ab052fd 100644
--- a/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheEndpoint.java
+++ b/components/camel-jcache/src/main/java/org/apache/camel/component/jcache/JCacheEndpoint.java
@@ -32,24 +32,24 @@ public class JCacheEndpoint extends DefaultEndpoint {
     @UriPath(description = "the cache name")
     @Metadata(required = "true")
     private final String cacheName;
-    private final JCacheConfiguration cacheCnfiguration;
+    private final JCacheConfiguration cacheConfiguration;
     private final JCacheManager<Object, Object> cacheManager;
 
     public JCacheEndpoint(String uri, JCacheComponent component, JCacheConfiguration configuration,
String cacheName) {
         super(uri, component);
 
         this.cacheName = cacheName;
-        this.cacheCnfiguration = configuration;
+        this.cacheConfiguration = configuration;
         this.cacheManager = new JCacheManager<>(
             configuration,
             cacheName,
-            getCamelContext().getApplicationContextClassLoader(),
-            super.getCamelContext());
+            component.getCamelContext().getApplicationContextClassLoader(),
+            component.getCamelContext());
     }
 
     @Override
     public Producer createProducer() throws Exception {
-        return new JCacheProducer(this, cacheCnfiguration);
+        return new JCacheProducer(this, cacheConfiguration);
     }
 
     @Override


Mime
View raw message