pbwest      2004/01/04 18:15:03

  Modified:    src/java/org/apache/fop/datatypes Tag: FOP_0-20-0_Alt-Design
                        ColorType.java
  Log:
  Removed spurious exception in throws clause.
  Javadocs cleanup.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.2.2.2   +5 -7      xml-fop/src/java/org/apache/fop/datatypes/ColorType.java
  
  Index: ColorType.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/datatypes/ColorType.java,v
  retrieving revision 1.2.2.1
  retrieving revision 1.2.2.2
  diff -u -r1.2.2.1 -r1.2.2.2
  --- ColorType.java    5 Jul 2003 19:08:19 -0000       1.2.2.1
  +++ ColorType.java    5 Jan 2004 02:15:03 -0000       1.2.2.2
  @@ -301,9 +301,7 @@
        * @return a <tt>float[4]</tt> containing the RGB information for
        * that color.
        */
  -    public static float[] getStandardColor(String name)
  -        throws PropertyException
  -    {
  +    public static float[] getStandardColor(String name) {
           return (float[])standardColors.get(name);
       }
   
  @@ -327,8 +325,8 @@
       /**
        * A <tt>HashMap</tt> containing four-element arrays of <tt>float</tt>
        * with the normalized RGB values of standard colours, indexed by the
  -     * name of the color.
  -     * @return a <tt>float[4]</tt> array representing the normalized color.
  +     * name of the color.  Individual values are <tt>float[4]</tt> arrays
  +     * representing the normalized color.
        */
       private static final HashMap standardColors;
       static {
  @@ -372,8 +370,8 @@
        * with the normalized RGB values of system colours, indexed by the
        * system name of the color.  This array is referred to when system color
        * references are encountered.  If the color is in the HashMap,
  -     * a reference to the array is returned.
  -     * @return a <tt>float[4]</tt> array representing the normalized color.
  +     * a reference to the array is returned.  Individual values are
  +     * <tt>float[4]</tt> arrays representing the normalized color.
        */
       private static final HashMap systemColors;
       static {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to