From 3c1cc359841da8388d1b23e08b1021a242a78525 Mon Sep 17 00:00:00 2001 From: Markus Scherer Date: Fri, 13 Sep 2013 19:35:54 +0000 Subject: [PATCH] ICU-10251 make CollationElementIterator protected methods private X-SVN-Rev: 34315 --- icu4c/source/i18n/unicode/coleitr.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/icu4c/source/i18n/unicode/coleitr.h b/icu4c/source/i18n/unicode/coleitr.h index 1695c9203dc..b7d95740c12 100644 --- a/icu4c/source/i18n/unicode/coleitr.h +++ b/icu4c/source/i18n/unicode/coleitr.h @@ -283,12 +283,7 @@ public: */ static UClassID U_EXPORT2 getStaticClassID(); -protected: - - // CollationElementIterator protected constructors -------------------------- - /** - * @stable ICU 2.0 - */ +private: friend class RuleBasedCollator; /** @@ -299,7 +294,6 @@ protected: * @param sourceText the source string. * @param order the collation object. * @param status the error code status. - * @stable ICU 2.0 */ CollationElementIterator(const UnicodeString& sourceText, const RuleBasedCollator* order, UErrorCode& status); @@ -312,23 +306,18 @@ protected: * @param sourceText the source string. * @param order the collation object. * @param status the error code status. - * @stable ICU 2.0 */ CollationElementIterator(const CharacterIterator& sourceText, const RuleBasedCollator* order, UErrorCode& status); - // CollationElementIterator protected methods ------------------------------- - /** * Assignment operator * * @param other the object to be copied - * @stable ICU 2.0 */ const CollationElementIterator& operator=(const CollationElementIterator& other); -private: CollationElementIterator(); // default constructor not implemented // CollationElementIterator private data members ---------------------------- @@ -342,7 +331,6 @@ private: * Indicates if m_data_ belongs to this object. */ UBool isDataOwned_; - }; // CollationElementIterator inline method defination -------------------------- -- 2.49.0