mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-04 14:30:13 +08:00
2003-04-30 Michael Koch <konqueror@gmx.de>
* java/text/BreakIterator.java (clone): New method. From-SVN: r66289
This commit is contained in:
parent
70ff9d9023
commit
d3d40e23b3
@ -1,3 +1,8 @@
|
||||
2003-04-30 Michael Koch <konqueror@gmx.de>
|
||||
|
||||
* java/text/BreakIterator.java
|
||||
(clone): New method.
|
||||
|
||||
2003-04-30 Michael Koch <konqueror@gmx.de>
|
||||
|
||||
* java/text/CollationElementIterator.java,
|
||||
|
@ -76,6 +76,21 @@ public abstract class BreakIterator implements Cloneable
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a clone of this object.
|
||||
*/
|
||||
public Object clone ()
|
||||
{
|
||||
try
|
||||
{
|
||||
return super.clone();
|
||||
}
|
||||
catch (CloneNotSupportedException e)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* This method returns the index of the current text element boundary.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user