camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bibr...@apache.org
Subject git commit: Fixed a typo. Thanks to Suresh for the catch
Date Sat, 14 Sep 2013 15:33:26 GMT
Updated Branches:
  refs/heads/master 03af89fe2 -> 5209d862b


Fixed a typo. Thanks to Suresh for the catch


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

Branch: refs/heads/master
Commit: 5209d862b2402242e9396bee34c1585f34a46484
Parents: 03af89f
Author: Bilgin Ibryam <bibryam@apache.org>
Authored: Sat Sep 14 16:33:12 2013 +0100
Committer: Bilgin Ibryam <bibryam@apache.org>
Committed: Sat Sep 14 16:33:12 2013 +0100

----------------------------------------------------------------------
 .../component/infinispan/InfinispanConfiguration.java     | 10 +++++-----
 .../camel/component/infinispan/InfinispanConsumer.java    |  4 ++--
 .../camel/component/infinispan/InfinispanProducer.java    |  2 +-
 3 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/5209d862/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanConfiguration.java
b/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanConfiguration.java
index d6ed97f..f284690 100644
--- a/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanConfiguration.java
+++ b/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanConfiguration.java
@@ -8,7 +8,7 @@ import org.infinispan.commons.api.BasicCacheContainer;
 
 public class InfinispanConfiguration {
     private BasicCacheContainer cacheContainer;
-    private String caseName;
+    private String cacheName;
     private String host;
     private String command;
     private boolean sync = true;
@@ -38,12 +38,12 @@ public class InfinispanConfiguration {
         this.cacheContainer = cacheContainer;
     }
 
-    public String getCasheName() {
-        return caseName;
+    public String getCacheName() {
+        return cacheName;
     }
 
-    public void setCaseName(String caseName) {
-        this.caseName = caseName;
+    public void setCacheName(String cacheName) {
+        this.cacheName = cacheName;
     }
 
     public boolean isSync() {

http://git-wip-us.apache.org/repos/asf/camel/blob/5209d862/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanConsumer.java
----------------------------------------------------------------------
diff --git a/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanConsumer.java
b/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanConsumer.java
index ce4479b..4c44217 100644
--- a/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanConsumer.java
+++ b/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanConsumer.java
@@ -43,8 +43,8 @@ public class InfinispanConsumer extends DefaultConsumer {
         if (configuration.getCacheContainer() instanceof DefaultCacheManager) {
             defaultCacheManager = (DefaultCacheManager) configuration.getCacheContainer();
             Cache<Object, Object> cache;
-            if (configuration.getCasheName() != null) {
-                cache = defaultCacheManager.getCache(configuration.getCasheName());
+            if (configuration.getCacheName() != null) {
+                cache = defaultCacheManager.getCache(configuration.getCacheName());
             } else {
                 cache = defaultCacheManager.getCache();
             }

http://git-wip-us.apache.org/repos/asf/camel/blob/5209d862/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanProducer.java
----------------------------------------------------------------------
diff --git a/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanProducer.java
b/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanProducer.java
index de8b2e5d..748843f 100644
--- a/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanProducer.java
+++ b/components/camel-infinispan/src/main/java/org/apache/camel/component/infinispan/InfinispanProducer.java
@@ -45,7 +45,7 @@ public class InfinispanProducer extends DefaultProducer {
     private BasicCache getCache(Exchange exchange) {
         String cacheName = exchange.getIn().getHeader(InfinispanConstants.CACHE_NAME, String.class);
         if (cacheName == null) {
-            cacheName = configuration.getCasheName();
+            cacheName = configuration.getCacheName();
         }
         LOGGER.trace("Cache[{}]", cacheName);
         return cacheName != null ? cacheContainer.getCache(cacheName) : cacheContainer.getCache();


Mime
View raw message