Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
4751:ee6c0f246b28 | 4752:ce570c74aa94 |
---|---|
438 return null; | 438 return null; |
439 } | 439 } |
440 | 440 |
441 | 441 |
442 public Layer createWMSLayer(Theme theme) { | 442 public Layer createWMSLayer(Theme theme) { |
443 if (theme == null || !(theme instanceof AttributedTheme)) { | 443 if (!(theme instanceof AttributedTheme)) { |
444 return null; | 444 return null; |
445 } | 445 } |
446 | 446 |
447 AttributedTheme at = (AttributedTheme) theme; | 447 AttributedTheme at = (AttributedTheme) theme; |
448 | 448 |