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 2017/07/13 06:28:13 UTC
[2/2] camel git commit: Fixed CS
Fixed CS
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/a7542736
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a7542736
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a7542736
Branch: refs/heads/master
Commit: a7542736a238b7e06dd9b6d8ec5855c72b8e986b
Parents: be4e17e
Author: Andrea Cosentino <an...@gmail.com>
Authored: Thu Jul 13 08:19:58 2017 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Thu Jul 13 08:19:58 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/a7542736/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 d66cd0e..efc3280 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
@@ -76,7 +76,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);
}
/**