Clearing cache.

This commit is contained in:
marcins78@gmail.com
2012-04-19 13:19:39 +00:00
parent e3e8f5b10f
commit 1204f1b9eb

View File

@@ -70,6 +70,9 @@ public class LeagueService {
int currentDate = DateUtils.getCurrentDate(); int currentDate = DateUtils.getCurrentDate();
if (currentDate != _activeLeaguesLoadedDate) { if (currentDate != _activeLeaguesLoadedDate) {
_cachedLeagueMatches.clearCache(); _cachedLeagueMatches.clearCache();
_cachedLeaguePoints.clearCache();
_cachedSerieMatches.clearCache();
_cachedSeriePoints.clearCache();
try { try {
_activeLeagues = _leagueDao.loadActiveLeagues(currentDate); _activeLeagues = _leagueDao.loadActiveLeagues(currentDate);