This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: ColorModel fixlet
- From: Tom Tromey <tromey at redhat dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 24 Jan 2002 23:01:38 -0700
- Subject: Patch: FYI: ColorModel fixlet
- Reply-to: tromey at redhat dot com
I'm checking this in.
This fixes a buglet pointed out on the main list.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* java/awt/image/ColorModel.java (getAlpha(Object)): Call
getAlpha, not getBlue.
Index: java/awt/image/ColorModel.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/awt/image/ColorModel.java,v
retrieving revision 1.6
diff -u -r1.6 ColorModel.java
--- java/awt/image/ColorModel.java 2002/01/22 22:40:10 1.6
+++ java/awt/image/ColorModel.java 2002/01/25 05:43:27
@@ -293,7 +293,7 @@
* @see #getRed(Object)
*/
public int getAlpha(Object inData) {
- return getBlue(getPixelFromArray(inData));
+ return getAlpha(getPixelFromArray(inData));
}
/**