[ 1885496 ] Performance NEEDS

This commit is contained in:
Carlos Ruiz 2008-02-13 19:21:43 +00:00
parent 79cfb4f56b
commit ec7588b1e3
1 changed files with 6 additions and 2 deletions

View File

@ -68,8 +68,12 @@ public class MTableScriptValidator extends X_AD_Table_ScriptValidator
// Try cache
String key = ""+ad_table_id+"_"+event;
ArrayList<MTableScriptValidator> mvrs = s_cacheTableEvent.get(key);
if (mvrs != null)
return mvrs;
if (mvrs != null) {
if (mvrs.size() > 0)
return mvrs;
else
return null;
}
//
// Fetch now
mvrs = new ArrayList<MTableScriptValidator>();