From c0710da6cd4941107b3061c22016d5aa987963a6 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 16 Jun 2020 14:06:24 +0200 Subject: [PATCH] Cache without name #resolve IDEMPIERE-4333 (#116) --- org.adempiere.base/src/org/compiere/model/MLookup.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.adempiere.base/src/org/compiere/model/MLookup.java b/org.adempiere.base/src/org/compiere/model/MLookup.java index b596f2ac26..bce519c1a1 100644 --- a/org.adempiere.base/src/org/compiere/model/MLookup.java +++ b/org.adempiere.base/src/org/compiere/model/MLookup.java @@ -920,8 +920,8 @@ public final class MLookup extends Lookup implements Serializable private final static CCache>> s_keyNamePairCache = new CCache>>(null, "MLookup.KeyNamePairCache", 100, 60, false, 500); private final static CCache>> s_valueNamePairCache = new CCache>>(null, "MLookup.ValueNamePairCache", 100, 60, false, 500); - private final static CCache> s_directKeyNamePairCache = new CCache>(null, "", 100, 60, false, 500); - private final static CCache> s_directValueNamePairCache = new CCache>(null, "", 100, 60, false, 500); + private final static CCache> s_directKeyNamePairCache = new CCache>(null, "MLookup.DirectKeyNamePairCache", 100, 60, false, 500); + private final static CCache> s_directValueNamePairCache = new CCache>(null, "MLookup.DirectValueNamePairCache", 100, 60, false, 500); private synchronized static List getKeyNamePairCache(MLookupInfo lookupInfo, String cacheKey) {