camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [2/2] camel git commit: Fixed CS
Date Thu, 13 Jul 2017 06:32:09 GMT
Fixed CS


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

Branch: refs/heads/camel-2.18.x
Commit: 88e43af236d6f763caf40de3e03e48b07a2adc5f
Parents: 74b4287
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Thu Jul 13 08:19:58 2017 +0200
Committer: Andrea Cosentino <ancosen@gmail.com>
Committed: Thu Jul 13 08:30:37 2017 +0200

----------------------------------------------------------------------
 camel-core/src/main/java/org/apache/camel/util/LRUCache.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/88e43af2/camel-core/src/main/java/org/apache/camel/util/LRUCache.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/util/LRUCache.java b/camel-core/src/main/java/org/apache/camel/util/LRUCache.java
index db1c1b8..27300e7 100644
--- a/camel-core/src/main/java/org/apache/camel/util/LRUCache.java
+++ b/camel-core/src/main/java/org/apache/camel/util/LRUCache.java
@@ -73,7 +73,7 @@ public class LRUCache<K, V> implements Map<K, V>, RemovalListener<K,
V>, Seriali
      */
     public LRUCache(int initialCapacity, int maximumCacheSize) {
         //Do not stop service if ConcurrentLinkedHashMap try to evict entry when its max
capacity is zero.
-        this(initialCapacity, maximumCacheSize, maximumCacheSize>0);
+        this(initialCapacity, maximumCacheSize, maximumCacheSize > 0);
     }
 
     /**


Mime
View raw message