[Dive4elements-commits] [PATCH 1 of 9] In ExtremeAccess, fix typo that lead to incorrect null-check

Wald Commits scm-commit at wald.intevation.org
Fri Oct 26 16:40:47 CEST 2012


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1351256988 -7200
# Node ID 270f3ac8a82ecb04ca251d0db5e266d86eb48757
# Parent  5cc9453456a7ee7bdfffab3d7aa004e858ee6db7
In ExtremeAccess, fix typo that lead to incorrect null-check.

diff -r 5cc9453456a7 -r 270f3ac8a82e flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/ExtremeAccess.java
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/ExtremeAccess.java	Thu Oct 25 17:25:37 2012 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/ExtremeAccess.java	Fri Oct 26 15:09:48 2012 +0200
@@ -112,7 +112,7 @@
 
         if (ranges == null) {
             String rangesS = getString("ranges");
-            if (ranges == null) {
+            if (rangesS == null) {
                 return null;
             }
             ranges = new ArrayList<RangeWithValues>();


More information about the Dive4elements-commits mailing list