pbwest 2004/05/25 08:16:31 Modified: src/java/org/apache/fop/datatypes Tag: FOP_0-20-0_Alt-Design FontFamilySet.java Log: Modified Traverser not to implement Iterator Revision Changes Path No revision No revision 1.1.2.4 +9 -9 xml-fop/src/java/org/apache/fop/datatypes/Attic/FontFamilySet.java Index: FontFamilySet.java =================================================================== RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/datatypes/Attic/FontFamilySet.java,v retrieving revision 1.1.2.3 retrieving revision 1.1.2.4 diff -u -r1.1.2.3 -r1.1.2.4 --- FontFamilySet.java 19 Feb 2004 03:11:55 -0000 1.1.2.3 +++ FontFamilySet.java 25 May 2004 15:16:30 -0000 1.1.2.4 @@ -26,7 +26,7 @@ package org.apache.fop.datatypes; -import java.util.Iterator; +//import java.util.Iterator; import java.util.NoSuchElementException; import org.apache.fop.fo.PropNames; @@ -87,7 +87,7 @@ /** * An <tt>Iterator</tt> implementing member class of FontFamilySet. */ - class Traverser implements Iterator { + public class Traverser { /** * The index for the iteration across the fontFamilyNames array. @@ -100,13 +100,13 @@ return index < fontFamilyNames.length; } - public Object next() { + public String next() { if (hasNext()) return fontFamilyNames[index++]; throw new NoSuchElementException(); } - public void remove() { - throw new UnsupportedOperationException(); - } +// public void remove() { +// throw new UnsupportedOperationException(); +// } } }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]