From 44ef536af6bfa5865a569a278ddeea5e9df215a3 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Tue, 23 Jan 2018 11:55:52 +0100 Subject: [PATCH] IDEMPIERE-3627 Field and Process Parameter: @SQL support for Readonly logic --- org.adempiere.base/src/org/compiere/model/GridField.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.adempiere.base/src/org/compiere/model/GridField.java b/org.adempiere.base/src/org/compiere/model/GridField.java index 0d9aa0defb..7c9d484c70 100644 --- a/org.adempiere.base/src/org/compiere/model/GridField.java +++ b/org.adempiere.base/src/org/compiere/model/GridField.java @@ -30,11 +30,11 @@ import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; import java.util.Date; -import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.StringTokenizer; +import java.util.concurrent.ConcurrentHashMap; import java.util.logging.Level; import org.adempiere.base.ILookupFactory; @@ -2561,7 +2561,7 @@ public class GridField return m_lookupEditorSettingValue; } - private final Map sqlLogicCache = new HashMap<>(); + private static final Map sqlLogicCache = new ConcurrentHashMap<>(); private class SQLLogicResult { long timestamp;