From 46e7caa7364ffe33ec6822ee30cecd340eedcd2b Mon Sep 17 00:00:00 2001 From: Peter Edberg Date: Mon, 13 Aug 2018 13:46:22 -0700 Subject: [PATCH] ICU-20065 Fix bad wording in comment --- icu4c/source/i18n/coll.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icu4c/source/i18n/coll.cpp b/icu4c/source/i18n/coll.cpp index f6d94be3553..d9c6b4607f3 100644 --- a/icu4c/source/i18n/coll.cpp +++ b/icu4c/source/i18n/coll.cpp @@ -450,8 +450,8 @@ Collator* U_EXPORT2 Collator::createInstance(const Locale& desiredLocale, coll = makeInstance(desiredLocale, status); // Either returns NULL with U_FAILURE(status), or non-NULL with U_SUCCESS(status) } - // The use of *coll in setAttributesFromKeywords can cause causes the NULL check - // to be optimized out of the delete even though setAttributesFromKeywords returns + // The use of *coll in setAttributesFromKeywords can cause the NULL check to be + // optimized out of the delete even though setAttributesFromKeywords returns // immediately if U_FAILURE(status), so we add a check here. if (U_FAILURE(status)) { return NULL;