From 2198265a72b95b7f187536f8c521be0cf7c6a4a4 Mon Sep 17 00:00:00 2001 From: Bryce McKinlay Date: Sat, 26 Jan 2002 08:35:34 +0000 Subject: [PATCH] MemoryImageSource.java (newPixels(byte[], ColorModel, int, int): Remove empty "if" statement to work around compiler bug. * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel, int, int): Remove empty "if" statement to work around compiler bug. (newPixels(int[], ColorModel, int, int): Likewise. From-SVN: r49245 --- libjava/ChangeLog | 6 ++++++ libjava/java/awt/image/MemoryImageSource.java | 10 ++-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index c080f5b350e..607d00f3343 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2002-01-25 Bryce McKinlay + + * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel, + int, int): Remove empty "if" statement to work around compiler bug. + (newPixels(int[], ColorModel, int, int): Likewise. + 2002-01-25 Per Bothner * verify.cc (verify_fail): Change from being a top-level function diff --git a/libjava/java/awt/image/MemoryImageSource.java b/libjava/java/awt/image/MemoryImageSource.java index fce112a0656..d36d000437d 100644 --- a/libjava/java/awt/image/MemoryImageSource.java +++ b/libjava/java/awt/image/MemoryImageSource.java @@ -312,10 +312,7 @@ public class MemoryImageSource implements ImageProducer int scansize) { - if( animated == true ) - { - //FIXME - } + // FIXME } public synchronized void newPixels(int newpix[], @@ -324,10 +321,7 @@ public class MemoryImageSource implements ImageProducer int scansize) { - if( animated == true ) - { - //FIXME - } + // FIXME } }