[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch: image loading fixes

From: Sascha Brawer
Subject: Re: Patch: image loading fixes
Date: Wed, 12 Nov 2003 09:12:05 +0100

Hi Tom,

Thomas Fitzsimmons <address@hidden> wrote on Tue, 11 Nov
2003 16:33:30 -0500:

>[patch to java/awt/]

    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, address@hidden, 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]