From 22e961c8062bd71f91e19edcf3f4c44e7f59e717 Mon Sep 17 00:00:00 2001 From: Peter Bernard West Date: Mon, 5 Jan 2004 02:08:15 +0000 Subject: [PATCH] Made fontFamilyNames protected. Javadoc fixes. Flagged by Eclipse. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197119 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/datatypes/FontFamilySet.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/java/org/apache/fop/datatypes/FontFamilySet.java b/src/java/org/apache/fop/datatypes/FontFamilySet.java index f331b71ab..a8dad4de4 100644 --- a/src/java/org/apache/fop/datatypes/FontFamilySet.java +++ b/src/java/org/apache/fop/datatypes/FontFamilySet.java @@ -77,15 +77,15 @@ public class FontFamilySet extends AbstractPropertyValue { * An array of Strings containing a prioritized list of * font family or generic font family names. */ - private String[] fontFamilyNames; + protected final String[] fontFamilyNames; /** * @param property int index of the property. - * @param fontNames an array of Strings containing a + * @param fontFamilyNames contains a * prioritized list of font names, as literals or NCNames, * 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 @@ public class FontFamilySet extends AbstractPropertyValue { /** * @param propertyName String name of the property. - * @param fontNames an array of Strings containing a + * @param fontFamilyNames contains a * prioritized list of font names, as literals or NCNames, * 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 class FontFamilySet extends AbstractPropertyValue { } public Object next() { - if (hasNext()) return (Object)fontFamilyNames[index++]; + if (hasNext()) return fontFamilyNames[index++]; throw new NoSuchElementException(); } -- 2.39.5