You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by pb...@apache.org on 2004/01/05 03:08:15 UTC
cvs commit: xml-fop/src/java/org/apache/fop/datatypes FontFamilySet.java
pbwest 2004/01/04 18:08:15
Modified: src/java/org/apache/fop/datatypes Tag: FOP_0-20-0_Alt-Design
FontFamilySet.java
Log:
Made fontFamilyNames protected.
Javadoc fixes.
Flagged by Eclipse.
Revision Changes Path
No revision
No revision
1.1.2.2 +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.1
retrieving revision 1.1.2.2
diff -u -r1.1.2.1 -r1.1.2.2
--- FontFamilySet.java 5 Jul 2003 19:08:19 -0000 1.1.2.1
+++ FontFamilySet.java 5 Jan 2004 02:08:15 -0000 1.1.2.2
@@ -77,15 +77,15 @@
* An array of <tt>String</tt>s containing a prioritized list of
* font family or generic font family names.
*/
- private String[] fontFamilyNames;
+ protected final String[] fontFamilyNames;
/**
* @param property <tt>int</tt> index of the property.
- * @param fontNames an array of <tt>String</tt>s containing a
+ * @param fontFamilyNames contains a
* prioritized list of font names, as literals or <tt>NCName</tt>s,
* being either the full name of a font, or an enumeration token
* representing a font family.
- * @exception PropertyException.
+ * @exception PropertyException
*/
public FontFamilySet(int property, String[] fontFamilyNames)
throws PropertyException
@@ -96,11 +96,11 @@
/**
* @param propertyName <tt>String</tt> name of the property.
- * @param fontNames an array of <tt>String</tt>s containing a
+ * @param fontFamilyNames contains a
* prioritized list of font names, as literals or <tt>NCName</tt>s,
* being either the full name of a font, or an enumeration token
* representing a font family.
- * @exception PropertyException.
+ * @exception PropertyException
*/
public FontFamilySet(String propertyName, String[] fontFamilyNames)
throws PropertyException
@@ -132,7 +132,7 @@
}
public Object next() {
- if (hasNext()) return (Object)fontFamilyNames[index++];
+ if (hasNext()) return fontFamilyNames[index++];
throw new NoSuchElementException();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org