Mercurial > dive4elements > river
changeset 1685:022f62c75878
Cosmetics.
flys-artifacts/trunk@2903 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 07 Oct 2011 13:14:37 +0000 |
parents | bdb05dc9b763 |
children | e8d1e531687a |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/RangeState.java flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java |
diffstat | 5 files changed, 17 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Fri Oct 07 10:51:09 2011 +0000 +++ b/flys-artifacts/ChangeLog Fri Oct 07 13:14:37 2011 +0000 @@ -1,3 +1,11 @@ +2011-10-07 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + * src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java, + src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java, + src/main/java/de/intevation/flys/artifacts/states/RangeState.java, + src/main/java/de/intevation/flys/exports/XYChartGenerator.java: + Add whitespace after full stop in comments, minor doc improvements. + 2011-10-07 Ingo Weinzierl <ingo@intevation.de> flys/issue353 (W-INFO / Wasserspiegellagenberechnung, Diagramm)
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java Fri Oct 07 10:51:09 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ComputationRangeState.java Fri Oct 07 13:14:37 2011 +0000 @@ -46,7 +46,7 @@ /** The name of the 'step' field. */ public static final String STEP = "ld_step"; - /** The default step width.*/ + /** The default step width. */ public static final int DEFAULT_STEP = 100;
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java Fri Oct 07 10:51:09 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DistanceSelect.java Fri Oct 07 13:14:37 2011 +0000 @@ -8,7 +8,7 @@ */ public class DistanceSelect extends ComputationRangeState { - /** The logger used in this class.*/ + /** The logger used in this class. */ private static Logger logger = Logger.getLogger(DistanceSelect.class);
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/RangeState.java Fri Oct 07 10:51:09 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/RangeState.java Fri Oct 07 13:14:37 2011 +0000 @@ -14,7 +14,7 @@ */ public abstract class RangeState extends DefaultState { - /** The logger that is used in this class.*/ + /** The logger that is used in this class. */ private Logger logger = Logger.getLogger(RangeState.class);
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java Fri Oct 07 10:51:09 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java Fri Oct 07 13:14:37 2011 +0000 @@ -59,13 +59,12 @@ /** List of annotations to insert in plot. */ protected List<FLYSAnnotation> annotations; - /** The max X range that includes all X values of all series for each axis.*/ + /** The max X range to include all X values of all series for each axis. */ protected Map<Integer, Range> xRanges; - /** The max Y range that includes all Y values of all series for each axis.*/ + /** The max Y range to include all Y values of all series for each axis. */ protected Map<Integer, Range> yRanges; - public static final Color DEFAULT_GRID_COLOR = Color.GRAY; public static final float DEFAULT_GRID_LINE_WIDTH = 0.3f; @@ -144,6 +143,10 @@ } + /** + * Add first and second dataset to plot. + * @param plot plot to add datasets to. + */ protected void addDatasets(XYPlot plot) { if (first != null) { logger.debug("Set the first axis dataset."); @@ -281,7 +284,6 @@ xRanges.get(0), yRanges.get(new Integer(i)) }; - if (i == 0) { ValueAxis xaxis = plot.getDomainAxis(); zoomX(plot, xaxis, ranges[0], xrange);