diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-25 16:56:00 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-25 16:56:00 +0000 |
commit | 35d7e286856192c67cda82508e1ce6ff48cf94dd (patch) | |
tree | a98c39bf5aded670d2cead5a42435254efc9d25a /libjava/java/text | |
parent | c5d2e41c31f119b26d504a2f6232c831073f7d40 (diff) | |
download | gcc-35d7e286856192c67cda82508e1ce6ff48cf94dd.tar.gz |
* gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
initialize `iter'.
* gnu/java/text/SentenceBreakIterator.java
(SentenceBreakIterator): Don't initialize `iter'.
* gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
initialize `iter'.
* gnu/java/text/CharacterBreakIterator.java
(CharacterBreakIterator): Don't initialize `iter'.
* gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
constructor.
* java/text/BreakIterator.java: Updated documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89539 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/text')
-rw-r--r-- | libjava/java/text/BreakIterator.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libjava/java/text/BreakIterator.java b/libjava/java/text/BreakIterator.java index 92037a3bf55..a79db8c5f23 100644 --- a/libjava/java/text/BreakIterator.java +++ b/libjava/java/text/BreakIterator.java @@ -1,5 +1,5 @@ /* BreakIterator.java -- Breaks text into elements - Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2001, 2004 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -49,6 +49,10 @@ import java.util.ResourceBundle; * type is created by calling one of the static factory methods, not * by directly calling a constructor. * + * The standard iterators created by the factory methods in this + * class will be valid upon creation. That is, their methods will + * not cause exceptions if called before you call setText(). + * * @author Tom Tromey <tromey@cygnus.com> * @author Aaron M. Renn (arenn@urbanophile.com) * @date March 19, 1999 |