IDEMPIERE-491 Caching data can generate problem. Fixed a backward compatibility issue.
This commit is contained in:
parent
a7d41c111c
commit
a44a3a17df
|
@ -388,7 +388,7 @@ public class CCache<K,V> implements CacheInterface, Map<K, V>, Serializable
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int reset(int recordId) {
|
public int reset(int recordId) {
|
||||||
if (recordId < 0)
|
if (recordId <= 0)
|
||||||
return reset();
|
return reset();
|
||||||
|
|
||||||
V removed = cache.remove(recordId);
|
V removed = cache.remove(recordId);
|
||||||
|
|
Loading…
Reference in New Issue