Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
violetagg committed Feb 2, 2022
1 parent 2ca910d commit a2a92c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
public final class MapUtils {

/**
* ConcurrentHashMap.computeIfAbsent(k,v) locks bin when k present.
* ConcurrentHashMap.computeIfAbsent(k,v) locks when k is present.
* Add pre-screen before locking inside computeIfAbsent.
* <p><strong>Note:</strong> This utility is not for a general purpose usage.
* Carefully consider the removal operations from the map.
Expand Down

0 comments on commit a2a92c1

Please sign in to comment.