OSDN Git Service

* java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Jan 2002 08:35:34 +0000 (08:35 +0000)
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 26 Jan 2002 08:35:34 +0000 (08:35 +0000)
        int, int):  Remove empty "if" statement to work around compiler bug.
        (newPixels(int[], ColorModel, int, int): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49245 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/java/awt/image/MemoryImageSource.java

index c080f5b..607d00f 100644 (file)
@@ -1,3 +1,9 @@
+2002-01-25  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
+
+       * 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  <per@bothner.com>
 
        * verify.cc (verify_fail):  Change from being a top-level function
index fce112a..d36d000 100644 (file)
@@ -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
     }
 
 }