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
This commit is contained in:
Bryce McKinlay 2002-01-26 08:35:34 +00:00 committed by Bryce McKinlay
parent f478b973d6
commit 2198265a72
2 changed files with 8 additions and 8 deletions

View 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

View 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
}
}