Hi Tom,
Thomas Fitzsimmons <[EMAIL PROTECTED]> wrote on Tue, 11 Nov
2003 16:33:30 -0500:
>[patch to java/awt/Component.java]
public boolean prepareImage(Image image, ImageObserver observer)
{
+ if (image == null)
+ throw new NullPointerException ();
+
return prepareImage(image, image.getWidth(observer),
image.getHeight(observer), observer);
}
Actually, the test for image == null is not needed.
-- Sascha
Sascha Brawer, [EMAIL PROTECTED], http://www.dandelis.ch/people/brawer/
_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath