Skip to content

Commit

Permalink
Update lang/java/avro/src/main/java/org/apache/avro/util/MapUtil.java
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Grigorov <[email protected]>
  • Loading branch information
belugabehr and martin-g authored Sep 10, 2024
1 parent ae26c3e commit 4cf5fb7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ private MapUtil() {
* "https://bugs.openjdk.java.net/browse/JDK-8161372">JDK-8161372</a>
* @deprecated As of JDK 1.9 this issue has been resolved.
*/
// TODO: Remove for 1.13.0 or later
@Deprecated
public static <K, V> V computeIfAbsent(ConcurrentMap<K, V> map, K key, Function<K, V> mappingFunction) {
V value = map.get(key);
Expand Down

0 comments on commit 4cf5fb7

Please sign in to comment.