Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/ExtremeAccess.java @ 4272:270f3ac8a82e
In ExtremeAccess, fix typo that lead to incorrect null-check.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 26 Oct 2012 15:09:48 +0200 |
parents | 6d8c7a00e74e |
children | 0545002e112c |
comparison
equal
deleted
inserted
replaced
4259:5cc9453456a7 | 4272:270f3ac8a82e |
---|---|
110 | 110 |
111 public List<RangeWithValues> getRanges() { | 111 public List<RangeWithValues> getRanges() { |
112 | 112 |
113 if (ranges == null) { | 113 if (ranges == null) { |
114 String rangesS = getString("ranges"); | 114 String rangesS = getString("ranges"); |
115 if (ranges == null) { | 115 if (rangesS == null) { |
116 return null; | 116 return null; |
117 } | 117 } |
118 ranges = new ArrayList<RangeWithValues>(); | 118 ranges = new ArrayList<RangeWithValues>(); |
119 DoubleUtil.parseSegments(rangesS, new DoubleUtil.SegmentCallback() { | 119 DoubleUtil.parseSegments(rangesS, new DoubleUtil.SegmentCallback() { |
120 @Override | 120 @Override |