[Opensymphony-oscache] Is There a bug?
hgwnet <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <[email protected]> |
public boolean isFlushed(CacheEntry cacheEntry) {
if (flushDateTime != null) {
long lastUpdate = cacheEntry.getLastUpdate();
return (flushDateTime.getTime() > lastUpdate); //BUG fixed here
/* Origin code:return (flushDateTime.getTime() >= lastUpdate);*/
} else {
return false;
}
}
I just tested the code ,the ">=" is nos proper there.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=1558&messageID=4750#4750