[gui] ColorModel doc update

Jerry Quinn jlquinn@optonline.net
Mon Sep 27 14:49:00 GMT 2004


2004-09-26  Jerry Quinn  <jlquinn@optonline.net>

	* java/awt/image/ColorModel.java (getDataElement,
	getDataElements): Document since 1.4.

Index: ColorModel.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/awt/image/ColorModel.java,v
retrieving revision 1.13.18.3
diff -u -r1.13.18.3 ColorModel.java
--- ColorModel.java	16 Sep 2004 05:11:20 -0000	1.13.18.3
+++ ColorModel.java	26 Sep 2004 17:33:43 -0000
@@ -542,6 +542,7 @@
     * @param offset Position of the first value of the pixel in components.
     *
     * @return pixel value encoded according to the color model.
+   * @since 1.4
     */
    public int getDataElement (float[] components, int offset)
    {
@@ -581,6 +582,7 @@
     * @return pixel value encoded according to the color model.
     * @throws ArrayIndexOutOfBounds
     * @throws ClassCastException
+   * @since 1.4
     */
    public Object getDataElements(float[] components, int offset, Object 
obj)
    {



More information about the Java-patches mailing list