WordBreakIterator.java (WordBreakIterator): Don't initialize `iter'.

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

From-SVN: r89539
This commit is contained in:
Tom Tromey 2004-10-25 16:56:00 +00:00 committed by Tom Tromey
parent 5cfffc4e16
commit 6fc058da98
7 changed files with 33 additions and 10 deletions

View file

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