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 a956694 Camel-Support: Fixed CS a956694 is described below commit a95669485d5dc186d3b1350f231a2b454b02e3b7 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Wed Mar 27 07:51:00 2019 +0100 Camel-Support: Fixed CS --- .../main/java/org/apache/camel/support/LRUCacheFactory.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/LRUCacheFactory.java b/core/camel-support/src/main/java/org/apache/camel/support/LRUCacheFactory.java index 8a4fd26..92727a4 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/LRUCacheFactory.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/LRUCacheFactory.java @@ -32,17 +32,17 @@ public abstract class LRUCacheFactory { private static final Logger LOGGER = LoggerFactory.getLogger(LRUCacheFactory.class); - private static volatile LRUCacheFactory INSTANCE; + private static volatile LRUCacheFactory instance; public static LRUCacheFactory getInstance() { - if (INSTANCE == null) { + if (instance == null) { synchronized (LRUCacheFactory.class) { - if (INSTANCE == null) { - INSTANCE = createLRUCacheFactory(); + if (instance == null) { + instance = createLRUCacheFactory(); } } } - return INSTANCE; + return instance; } private static LRUCacheFactory createLRUCacheFactory() {