mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -1487,7 +1487,6 @@ public class MapUtil {
|
|||||||
value = map.get(key);
|
value = map.get(key);
|
||||||
|
|
||||||
// 判空后调用依旧无法解决死循环问题
|
// 判空后调用依旧无法解决死循环问题
|
||||||
// 见:Issue2349Test
|
|
||||||
//value = map.computeIfAbsent(key, mappingFunction);
|
//value = map.computeIfAbsent(key, mappingFunction);
|
||||||
}
|
}
|
||||||
return value;
|
return value;
|
||||||
|
@@ -78,7 +78,6 @@ public class SafeConcurrentHashMap<K, V> extends ConcurrentHashMap<K, V> {
|
|||||||
value = get(key);
|
value = get(key);
|
||||||
|
|
||||||
// 判空后调用依旧无法解决死循环问题
|
// 判空后调用依旧无法解决死循环问题
|
||||||
// 见:Issue2349Test
|
|
||||||
//value = map.computeIfAbsent(key, mappingFunction);
|
//value = map.computeIfAbsent(key, mappingFunction);
|
||||||
}
|
}
|
||||||
return value;
|
return value;
|
||||||
|
Reference in New Issue
Block a user