OSDN Git Service

Entry -> Map.Entry. Fixes build break
authorDeepanshu Gupta <deepanshu@google.com>
Thu, 18 Feb 2016 04:51:08 +0000 (20:51 -0800)
committerDeepanshu Gupta <deepanshu@google.com>
Thu, 18 Feb 2016 04:51:08 +0000 (20:51 -0800)
Change-Id: I72fe70d6f617c7753a278e134ac22d71125d8def

tools/layoutlib/bridge/src/android/graphics/FontFamily_Delegate.java

index 0e66baa..746ef36 100644 (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;
         }