From 4cf5fb7418638832d8841d132a5d6b0b6e941134 Mon Sep 17 00:00:00 2001 From: belugabehr <12578579+belugabehr@users.noreply.github.com> Date: Tue, 10 Sep 2024 10:52:38 -0400 Subject: [PATCH] Update lang/java/avro/src/main/java/org/apache/avro/util/MapUtil.java Co-authored-by: Martin Grigorov --- lang/java/avro/src/main/java/org/apache/avro/util/MapUtil.java | 1 + 1 file changed, 1 insertion(+) diff --git a/lang/java/avro/src/main/java/org/apache/avro/util/MapUtil.java b/lang/java/avro/src/main/java/org/apache/avro/util/MapUtil.java index 23e4ea9c43e..394aa2b3a63 100644 --- a/lang/java/avro/src/main/java/org/apache/avro/util/MapUtil.java +++ b/lang/java/avro/src/main/java/org/apache/avro/util/MapUtil.java @@ -33,6 +33,7 @@ private MapUtil() { * "https://bugs.openjdk.java.net/browse/JDK-8161372">JDK-8161372 * @deprecated As of JDK 1.9 this issue has been resolved. */ + // TODO: Remove for 1.13.0 or later @Deprecated public static V computeIfAbsent(ConcurrentMap map, K key, Function mappingFunction) { V value = map.get(key);