I am creating an application which retrieves images from the web. In case the image cannot be retrieved another local image should be used.
While trying to execute the f
It's probably slightly more efficient to catch a NullPointerException. The above methods mean that the runtime is checking for null pointers twice.