Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java @ 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 | 5014a84c0c7d |
children | 4bf3b89b38d5 |
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; }