2003-04-30 Michael Koch <konqueror@gmx.de>

* java/text/BreakIterator.java
	(clone): New method.

From-SVN: r66289
This commit is contained in:
Michael Koch 2003-04-30 13:22:45 +00:00 committed by Michael Koch
parent 70ff9d9023
commit d3d40e23b3
2 changed files with 20 additions and 0 deletions

View File

@ -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,

View File

@ -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.
*