IDEMPIERE-4433 - MTable error - ConcurrentModificationException (#237)
Fix Putting into Cache outside Synchronized methods.
This commit is contained in:
parent
02f4d526dc
commit
f13313760c
|
@ -85,7 +85,7 @@ public class MTable extends X_AD_Table
|
|||
* @param trxName transaction
|
||||
* @return MTable
|
||||
*/
|
||||
public static MTable get (Properties ctx, int AD_Table_ID, String trxName)
|
||||
public static synchronized MTable get (Properties ctx, int AD_Table_ID, String trxName)
|
||||
{
|
||||
Integer key = Integer.valueOf(AD_Table_ID);
|
||||
MTable retValue = s_cache.get (key);
|
||||
|
|
Loading…
Reference in New Issue