mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-1996
Modified StringBuffer.append(StringBuffer) to use StringBuffer.append(String) X-SVN-Rev: 9244
This commit is contained in:
parent
97772635e2
commit
f3886a2b0e
2 changed files with 8 additions and 5 deletions
|
@ -5,8 +5,8 @@
|
|||
*******************************************************************************
|
||||
*
|
||||
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/impl/Utility.java,v $
|
||||
* $Date: 2002/07/08 23:52:14 $
|
||||
* $Revision: 1.25 $
|
||||
* $Date: 2002/07/17 23:48:06 $
|
||||
* $Revision: 1.26 $
|
||||
*
|
||||
*****************************************************************************************
|
||||
*/
|
||||
|
@ -1445,7 +1445,8 @@ public final class Utility {
|
|||
}
|
||||
if (quoteBuf.length() > 0) {
|
||||
rule.append(APOSTROPHE);
|
||||
rule.append(quoteBuf);
|
||||
// jdk 1.3.1 does not have append(StringBuffer) yet
|
||||
rule.append(quoteBuf.toString());
|
||||
rule.append(APOSTROPHE);
|
||||
quoteBuf.setLength(0);
|
||||
}
|
||||
|
|
|
@ -872,7 +872,8 @@ public final class CollationElementIterator
|
|||
backup.m_isCodePointHiragana_ = m_isCodePointHiragana_;
|
||||
backup.m_bufferOffset_ = m_bufferOffset_;
|
||||
if (m_bufferOffset_ >= 0) {
|
||||
backup.m_buffer_.append(m_buffer_);
|
||||
// jdk 1.3.1 does not have append(StringBuffer) yet
|
||||
backup.m_buffer_.append(m_buffer_.toString());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -889,7 +890,8 @@ public final class CollationElementIterator
|
|||
m_FCDStart_ = backup.m_FCDStart_;
|
||||
m_buffer_.delete(0, m_buffer_.length());
|
||||
if (m_bufferOffset_ >= 0) {
|
||||
m_buffer_.append(backup.m_buffer_);
|
||||
// jdk 1.3.1 does not have append(StringBuffer) yet
|
||||
m_buffer_.append(backup.m_buffer_.toString());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue