]> granicus.if.org Git - icu/commitdiff
ICU-20065 Fix bad wording in comment
authorPeter Edberg <pedberg@apple.com>
Mon, 13 Aug 2018 20:46:22 +0000 (13:46 -0700)
committerShane Carr <shane@unicode.org>
Thu, 27 Sep 2018 21:27:38 +0000 (14:27 -0700)
icu4c/source/i18n/coll.cpp

index f6d94be3553382ac4c05f6df4b394c2d2bbb58de..d9c6b4607f3b3b3f2a41bc1284ccc83e2cd84c87 100644 (file)
@@ -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;