]> granicus.if.org Git - icu/commitdiff
ICU-12549 Small documentation and comment fixes in C++ SpoofChecker
authorShane Carr <shane@unicode.org>
Thu, 22 Sep 2016 01:43:05 +0000 (01:43 +0000)
committerShane Carr <shane@unicode.org>
Thu, 22 Sep 2016 01:43:05 +0000 (01:43 +0000)
X-SVN-Rev: 39328

icu4c/source/i18n/unicode/uspoof.h
icu4c/source/i18n/uspoof_impl.h

index 1662245907fa1a06bb1f08058fad30e8602956d8..2d6f856bfc54529bd7e4af1997c91d116546c2e2 100644 (file)
  *
  * <p>
  * If you need to check if a string is confusable with any string in a dictionary of many strings, rather than calling
- * {uspoof_areConfusable} many times in a loop, {uspoof_getSkeleton} can be used instead, as shown below:
+ * {@link uspoof_areConfusable} many times in a loop, {@link uspoof_getSkeleton} can be used instead, as shown below:
  *
  * \code{.c}
  * UErrorCode status = U_ZERO_ERROR;
@@ -436,7 +436,7 @@ typedef enum USpoofChecks {
     /**
       * This flag is deprecated and no longer affects the behavior of SpoofChecker.
       *
-      * @deprecated ICU 58  This API was deprecated in UTS 39 Version 8 and is no longer used.
+      * @deprecated ICU 58  Any case confusable mappings were removed from UTS 39; the corresponding ICU API was deprecated.
       */
     USPOOF_ANY_CASE                 =   8,
 #endif  /* U_HIDE_DEPRECATED_API */
@@ -1243,7 +1243,8 @@ uspoof_getCheckResultRestrictionLevel(const USpoofCheckResult *checkResult, UErr
 
 /**
  * Gets the set of numerics found in the string, if the USPOOF_MIXED_NUMBERS check was enabled;
- * otherwise, undefined.  Ownership of the returned USet remains with the USpoofCheckResult.
+ * otherwise, undefined.  The set will contain the zero digit from each decimal number system found
+ * in the input string.  Ownership of the returned USet remains with the USpoofCheckResult.
  * The USet will be free'd when {@link uspoof_closeCheckResult} is called.
  *
  * @param checkResult  The instance of USpoofCheckResult created by {@link uspoof_openCheckResult}
index c6e5c938e5aa5dd61dc724d8308d304632de401d..82b8b5d5704c5af4d5abf1bad6e5a3b4e9a9132c 100644 (file)
@@ -154,10 +154,6 @@ public:
 //       The strings table contains all of the value strings (those of length two or greater)
 //       concatentated together into one long UChar (UTF-16) array.
 //
-//       The array is arranged by length of the strings - all strings of the same length
-//       are stored together.  The sections are ordered by length of the strings -
-//       all two char strings first, followed by all of the three Char strings, etc.
-//
 //       There is no nul character or other mark between adjacent strings.
 //