Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: source/common/unicode/brkiter.h

Issue 2440913002: Update ICU to 58.1
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/common/unicode/appendable.h ('k') | source/common/unicode/bytestream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/common/unicode/brkiter.h
diff --git a/source/common/unicode/brkiter.h b/source/common/unicode/brkiter.h
index 4aa5e552796090eaebcd7ce7b7d275aa8b3775b4..88b39c6699b2f63b997f010cbafce9a02f6a37fa 100644
--- a/source/common/unicode/brkiter.h
+++ b/source/common/unicode/brkiter.h
@@ -1,6 +1,8 @@
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
********************************************************************************
-* Copyright (C) 1997-2014, International Business Machines
+* Copyright (C) 1997-2016, International Business Machines
* Corporation and others. All Rights Reserved.
********************************************************************************
*
@@ -168,6 +170,11 @@ public:
/**
* Change the text over which this operates. The text boundary is
* reset to the start.
+ *
+ * The BreakIterator will retain a reference to the supplied string.
+ * The caller must not modify or delete the text while the BreakIterator
+ * retains the reference.
+ *
* @param text The UnicodeString used to change the text.
* @stable ICU 2.0
*/
@@ -291,7 +298,7 @@ public:
virtual int32_t next(int32_t n) = 0;
/**
- * For RuleBasedBreakIterators, return the status tag from the
+ * For RuleBasedBreakIterators, return the status tag from the
* break rule that determined the most recently
* returned break position.
* <p>
@@ -307,7 +314,7 @@ public:
virtual int32_t getRuleStatus() const;
/**
- * For RuleBasedBreakIterators, get the status (tag) values from the break rule(s)
+ * For RuleBasedBreakIterators, get the status (tag) values from the break rule(s)
* that determined the most recently returned break position.
* <p>
* For break iterator types that do not support rule status,
@@ -623,8 +630,11 @@ protected:
BreakIterator();
/** @internal */
BreakIterator (const BreakIterator &other) : UObject(other) {}
+#ifndef U_HIDE_INTERNAL_API
/** @internal */
BreakIterator (const Locale& valid, const Locale& actual);
+#endif /* U_HIDE_INTERNAL_API */
+
private:
/** @internal */
« no previous file with comments | « source/common/unicode/appendable.h ('k') | source/common/unicode/bytestream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698