private SupportedEntityTypes(Class<? extends Entity> cls) {
this.cls = cls;
}
}
@SuppressWarnings("serial")
<BUG>private static final LinkedHashMap<Integer, Integer> COLOR_CACHE = new LinkedHashMap<Integer, Integer>(16, 0.75f, true) {
protected boolean removeEldestEntry(Map.Entry<Integer, Integer> eldest) {</BUG>
return size() > 1000;
}
};

private SupportedEntityTypes(Class<? extends Entity> cls) {
this.cls = cls;
}
}
@SuppressWarnings("serial")
private static final LinkedHashMap<Integer, Integer> COLOR_CACHE = new LinkedHashMap<Integer, Integer>(16, 0.75f, true) {
@Override
protected boolean removeEldestEntry(Map.Entry<Integer, Integer> eldest) {
return size() > 1000;
}
};
