修改拼写错误的方法名。

This commit is contained in:
2023-09-09 11:07:00 +08:00
parent ef43b4dd87
commit fd2190e4f6
3 changed files with 3 additions and 3 deletions

View File

@@ -145,7 +145,7 @@ public abstract class AbstractMapWrapper<K, V, T extends AbstractMapWrapper<K, V
public final V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) {
if (this.map instanceof ConcurrentHashMap) {
return ConcurrentHashMapUtil.computIfAbsent(
return ConcurrentHashMapUtil.computeIfAbsent(
(ConcurrentHashMap<K, V>) this.map, key, mappingFunction);
} else {
return this.map.computeIfAbsent(key, mappingFunction);