Merge "Entry -> Map.Entry. Fixes build break" into nyc-dev

This commit is contained in:
Deepanshu Gupta
2016-02-18 04:53:24 +00:00
committed by Android (Google) Code Review

View File

@@ -73,7 +73,7 @@ public class FontFamily_Delegate {
private static final Map<String, FontInfo> sCache =
new LinkedHashMap<String, FontInfo>(CACHE_SIZE) {
@Override
protected boolean removeEldestEntry(Entry<String, FontInfo> eldest) {
protected boolean removeEldestEntry(Map.Entry<String, FontInfo> eldest) {
return size() > CACHE_SIZE;
}