Mercurial > dive4elements > river
changeset 6888:281190b96f4d
Cosmetics.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 21 Aug 2013 15:00:04 +0200 |
parents | 5a1078fd53e1 |
children | feaf76b70190 |
files | artifacts/src/main/java/org/dive4elements/river/exports/DischargeCurveGenerator.java |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/DischargeCurveGenerator.java Wed Aug 21 12:24:45 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/DischargeCurveGenerator.java Wed Aug 21 15:00:04 2013 +0200 @@ -333,7 +333,7 @@ addAxisSeries(series, YAXIS.W.idx, visible); } - if(visible && ThemeUtil.parseShowPointLabel(theme) + if (visible && ThemeUtil.parseShowPointLabel(theme) && data != null && data.length != 0) { double[] xs = data[0]; @@ -350,6 +350,5 @@ } } } - } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :