[ 1885496 ] Performance NEEDS
This commit is contained in:
parent
79cfb4f56b
commit
ec7588b1e3
|
@ -68,8 +68,12 @@ public class MTableScriptValidator extends X_AD_Table_ScriptValidator
|
||||||
// Try cache
|
// Try cache
|
||||||
String key = ""+ad_table_id+"_"+event;
|
String key = ""+ad_table_id+"_"+event;
|
||||||
ArrayList<MTableScriptValidator> mvrs = s_cacheTableEvent.get(key);
|
ArrayList<MTableScriptValidator> mvrs = s_cacheTableEvent.get(key);
|
||||||
if (mvrs != null)
|
if (mvrs != null) {
|
||||||
return mvrs;
|
if (mvrs.size() > 0)
|
||||||
|
return mvrs;
|
||||||
|
else
|
||||||
|
return null;
|
||||||
|
}
|
||||||
//
|
//
|
||||||
// Fetch now
|
// Fetch now
|
||||||
mvrs = new ArrayList<MTableScriptValidator>();
|
mvrs = new ArrayList<MTableScriptValidator>();
|
||||||
|
|
Loading…
Reference in New Issue