mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-07-01 12:57:26 +00:00
[Change] CacheStore-API, CacheStore-Local, CacheStore-Redis 调整 MapCacheStore.putAll 方法参数;
[Change] MapCacheStore 调整 'putAll' 方法的泛型, 以兼容类型的子类; [Change] HashMapCacheStore, RedisMapCacheStore 适配更改;
This commit is contained in:
@ -107,7 +107,7 @@ public class RedisMapCacheStore<V> extends RedisCacheStore<Map<String, V>> imple
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean putAll(CacheKey key, Map<String, V> map) {
|
||||
public boolean putAll(CacheKey key, Map<? extends String, ? extends V> map) {
|
||||
Objects.requireNonNull(key);
|
||||
Objects.requireNonNull(map);
|
||||
if (map.size() == 0) {
|
||||
|
Reference in New Issue
Block a user