]> granicus.if.org Git - icu/commit
ICU-21035 Replace backward compatibility _getVariant*() functions.
authorFredrik Roubert <roubert@google.com>
Fri, 28 Aug 2020 13:15:38 +0000 (15:15 +0200)
committerFredrik Roubert <fredrik@roubert.name>
Mon, 31 Aug 2020 11:33:15 +0000 (13:33 +0200)
commitffd450c6372cd34e8392d0a75173c47c9a983b87
treed97c4bca34b1465a25a89797635d66cd9d3fd687
parentf62693aa02702d1db681a1a34ddc3e16b426759c
ICU-21035 Replace backward compatibility _getVariant*() functions.

The one single caller of _getVariantEx() is _getVariant() and this in
turn only has 3 callers, one of which is commented out (so it can be
deleted), one of which doesn't actually do anything (so it too can be
deleted) and one which can be replaced by inlining the use of
CheckedArrayByteSink.

This also allows _getVariantEx() to be renamed to _getVariant() as it's
the only such function left now.
icu4c/source/common/uloc.cpp