[Dive4elements-commits] [PATCH] Removed null comparison where also instanceof is used
Wald Commits
scm-commit at wald.intevation.org
Thu Jan 3 11:43:36 CET 2013
# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1357209796 -3600
# Node ID ce570c74aa942e51ad066f924a5d7c8e6edaff7e
# Parent ee6c0f246b28c84a5728cf4f29be0cd84776a1ec
Removed null comparison where also instanceof is used.
diff -r ee6c0f246b28 -r ce570c74aa94 flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapOutputTab.java
--- 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;
}
More information about the Dive4elements-commits
mailing list