From b589f6be89404fc5817fefd1c8ff17e1d028e969 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Wed, 27 Sep 2000 23:39:36 +0000 Subject: [PATCH] ICU-615 Changed the parameter name and tested it. X-SVN-Rev: 2530 --- icu4c/source/common/uchriter.cpp | 32 +++++++++++++------------- icu4c/source/common/unicode/uchriter.h | 30 ++++++++++++------------ 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/icu4c/source/common/uchriter.cpp b/icu4c/source/common/uchriter.cpp index 3ae1ebc00d0..1ca6876213d 100644 --- a/icu4c/source/common/uchriter.cpp +++ b/icu4c/source/common/uchriter.cpp @@ -15,28 +15,28 @@ UCharCharacterIterator::UCharCharacterIterator() // never default construct! } -UCharCharacterIterator::UCharCharacterIterator(const UChar* text, - int32_t textLength) - : CharacterIterator(text != 0 ? textLength : 0), - text(text) +UCharCharacterIterator::UCharCharacterIterator(const UChar* textPtr, + int32_t length) + : CharacterIterator(textPtr != 0 ? length : 0), + text(textPtr) { } -UCharCharacterIterator::UCharCharacterIterator(const UChar* text, - int32_t textLength, - UTextOffset pos) - : CharacterIterator(text != 0 ? textLength : 0, pos), - text(text) +UCharCharacterIterator::UCharCharacterIterator(const UChar* textPtr, + int32_t length, + UTextOffset position) + : CharacterIterator(textPtr != 0 ? length : 0, position), + text(textPtr) { } -UCharCharacterIterator::UCharCharacterIterator(const UChar* text, - int32_t textLength, - UTextOffset begin, - UTextOffset end, - UTextOffset pos) - : CharacterIterator(text != 0 ? textLength : 0, begin, end, pos), - text(text) +UCharCharacterIterator::UCharCharacterIterator(const UChar* textPtr, + int32_t length, + UTextOffset textBegin, + UTextOffset textEnd, + UTextOffset position) + : CharacterIterator(textPtr != 0 ? length : 0, textBegin, textEnd, position), + text(textPtr) { } diff --git a/icu4c/source/common/unicode/uchriter.h b/icu4c/source/common/unicode/uchriter.h index accfc345bbd..ec79ff71af7 100644 --- a/icu4c/source/common/unicode/uchriter.h +++ b/icu4c/source/common/unicode/uchriter.h @@ -26,42 +26,42 @@ class U_COMMON_API UCharCharacterIterator : public CharacterIterator { public: /** - * Create an iterator over the UChar array referred to by "text". - * The iteration range is 0 to len-1. + * Create an iterator over the UChar array referred to by "textPtr". + * The iteration range is 0 to length-1. * text is only aliased, not adopted (the * destructor will not delete it). * @stable */ - UCharCharacterIterator(const UChar* text, int32_t len); + UCharCharacterIterator(const UChar* textPtr, int32_t length); /** - * Create an iterator over the UChar array referred to by "text". - * The iteration range is 0 to len-1. + * Create an iterator over the UChar array referred to by "textPtr". + * The iteration range is 0 to length-1. * text is only aliased, not adopted (the * destructor will not delete it). * The starting - * position is specified by "pos". If "pos" is outside the valid + * position is specified by "position". If "position" is outside the valid * iteration range, the behavior of this object is undefined. * @stable */ - UCharCharacterIterator(const UChar* text, int32_t len, - UTextOffset pos); + UCharCharacterIterator(const UChar* textPtr, int32_t length, + UTextOffset position); /** - * Create an iterator over the UChar array referred to by "text". + * Create an iterator over the UChar array referred to by "textPtr". * The iteration range is 0 to end-1. * text is only aliased, not adopted (the * destructor will not delete it). * The starting - * position is specified by "pos". If begin and end do not - * form a valid iteration range or "pos" is outside the valid + * position is specified by "position". If begin and end do not + * form a valid iteration range or "position" is outside the valid * iteration range, the behavior of this object is undefined. * @stable */ - UCharCharacterIterator(const UChar* text, int32_t len, - UTextOffset begin, - UTextOffset end, - UTextOffset pos); + UCharCharacterIterator(const UChar* textPtr, int32_t length, + UTextOffset textBegin, + UTextOffset textEnd, + UTextOffset position); /** * Copy constructor. The new iterator iterates over the same range