Mercurial > dive4elements > river
changeset 3160:8c78c707aa2d
Removed trailing whitespace.
flys-artifacts/trunk@4772 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 24 Jun 2012 17:49:07 +0000 |
parents | a6a3f9894fe0 |
children | cd8d81b2824d |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/exports/ChartGenerator.java flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java flys-artifacts/src/main/java/de/intevation/flys/jfree/StyledXYSeries.java flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java |
diffstat | 5 files changed, 15 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Sun Jun 24 17:44:39 2012 +0000 +++ b/flys-artifacts/ChangeLog Sun Jun 24 17:49:07 2012 +0000 @@ -1,3 +1,11 @@ +2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * src/main/java/de/intevation/flys/utils/ThemeUtil.java, + src/main/java/de/intevation/flys/exports/ChartGenerator.java, + src/main/java/de/intevation/flys/exports/XYChartGenerator.java, + src/main/java/de/intevation/flys/jfree/StyledXYSeries.java: + Removed trailing whitespace. + 2012-06-23 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/ChartGenerator.java Sun Jun 24 17:44:39 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/ChartGenerator.java Sun Jun 24 17:49:07 2012 +0000 @@ -1099,7 +1099,7 @@ */ protected void addDatasets(XYPlot plot) { logger.debug("addDatasets()"); - + // AxisDatasets are sorted, but some might be empty. // Thus, generate numbering on the fly. int axisIndex = 0;
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java Sun Jun 24 17:44:39 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java Sun Jun 24 17:49:07 2012 +0000 @@ -1411,7 +1411,7 @@ else { // Do not merge entries. for (LegendItem li: itemList) { - newLegend.add(li); + newLegend.add(li); } } }
--- a/flys-artifacts/src/main/java/de/intevation/flys/jfree/StyledXYSeries.java Sun Jun 24 17:44:39 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/jfree/StyledXYSeries.java Sun Jun 24 17:49:07 2012 +0000 @@ -29,8 +29,8 @@ this(key, true, theme); this.label = key.toString(); } - - + + public StyledXYSeries(String key, Document theme, XYSeries unstyledSeries) { this(key, theme); add(unstyledSeries); @@ -70,12 +70,12 @@ public void setLabel(String label) { this.label = label; } - + protected void add(XYSeries series) { List<XYDataItem> items = series.getItems(); add(items); } - + protected void add(List<XYDataItem> items) { for(XYDataItem item : items) { add(item.getXValue(), item.getYValue());
--- a/flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java Sun Jun 24 17:44:39 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/utils/ThemeUtil.java Sun Jun 24 17:49:07 2012 +0000 @@ -597,7 +597,7 @@ */ public static Color parseLineColorField(Document theme) { String lineColorStr = getLineColorString(theme); - logger.debug("parseLineColorField: lineColorStr = " + + logger.debug("parseLineColorField: lineColorStr = " + (lineColorStr == null ? "null" : lineColorStr)); return parseRGB(lineColorStr); }