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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to