|
@@ -249,8 +249,12 @@ public abstract class AbstractFeatureService<K, V> {
|
|
try {
|
|
try {
|
|
Map<K,V> map=new HashMap<>();
|
|
Map<K,V> map=new HashMap<>();
|
|
for(K k:idList){
|
|
for(K k:idList){
|
|
- if(cache.getIfPresent(k)!=null){
|
|
|
|
- map.put(k,cache.get(k));
|
|
|
|
|
|
+ try {
|
|
|
|
+ if(cache.getUnchecked(k)!=null){
|
|
|
|
+ map.put(k,cache.getUnchecked(k));
|
|
|
|
+ }
|
|
|
|
+ }catch (Exception e){
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return map;
|
|
return map;
|