changeset 4752:ce570c74aa94

Removed null comparison where also instanceof is used.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 03 Jan 2013 11:43:16 +0100
parents ee6c0f246b28
children a310aceb2e51
files flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java	Thu Jan 03 10:21:46 2013 +0100
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java	Thu Jan 03 11:43:16 2013 +0100
@@ -440,7 +440,7 @@
 
 
     public Layer createWMSLayer(Theme theme) {
-        if (theme == null || !(theme instanceof AttributedTheme)) {
+        if (!(theme instanceof AttributedTheme)) {
             return null;
         }
 

http://dive4elements.wald.intevation.org