Android-Universal-Image-Loader icon indicating copy to clipboard operation
Android-Universal-Image-Loader copied to clipboard

LimitedAgeMemoryCache

Open guojie1689 opened this issue 8 years ago • 0 comments

In LimitedAgeMemoryCache class , The get method:

public Bitmap get(String key) { Long loadingDate = loadingDates.get(key); if (loadingDate != null && System.currentTimeMillis() - loadingDate > maxAge) { cache.remove(key); loadingDates.remove(key); }

	return cache.get(key);
}

if after run line cache.remove(key) ,then run cache.get(key) should return null?

guojie1689 avatar Dec 26 '17 10:12 guojie1689