From b23d6c1afe339a09da31943f5fe104cd3f2689ff Mon Sep 17 00:00:00 2001 From: Mihai Nita Date: Wed, 21 Sep 2022 17:18:47 +0000 Subject: [PATCH] ICU-22124 Tag the default constructor of OrderedMap as internal/deprecated ICU-22124 Tag the default constructor of OrderedMap as internal/deprecated Fix for apireport, see #2193 --- .../core/src/com/ibm/icu/message2/Mf2DataModel.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/icu4j/main/classes/core/src/com/ibm/icu/message2/Mf2DataModel.java b/icu4j/main/classes/core/src/com/ibm/icu/message2/Mf2DataModel.java index e848a818504..b1eb342e207 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/message2/Mf2DataModel.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/message2/Mf2DataModel.java @@ -664,6 +664,17 @@ public class Mf2DataModel { @Deprecated public static class OrderedMap extends LinkedHashMap { private static final long serialVersionUID = -7049361727790825496L; + + /** + * {@inheritDoc} + * + * @internal ICU 72 technology preview + * @deprecated This API is for ICU internal use only. + */ + @Deprecated + public OrderedMap() { + super(); + } } private final OrderedMap localVariables; -- 2.40.0