Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontal/HorizontalProfileOutputState.java @ 823:499cfbbb61bc
Removed obsolet SuppressWarnings-Annotations.
gnv-artifacts/trunk@910 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 13 Apr 2010 08:25:34 +0000 |
parents | df6d980c5418 |
children | 2423cefe7d39 |
comparison
equal
deleted
inserted
replaced
822:ac1b9f00603f | 823:499cfbbb61bc |
---|---|
1 package de.intevation.gnv.state.profile.horizontal; | 1 package de.intevation.gnv.state.profile.horizontal; |
2 | |
3 import de.intevation.artifacts.CallContext; | |
4 | |
5 import de.intevation.gnv.chart.Chart; | |
6 import de.intevation.gnv.chart.ChartLabels; | |
7 import de.intevation.gnv.chart.HorizontalProfileChart; | |
8 | |
9 import de.intevation.gnv.exports.DefaultExport; | |
10 import de.intevation.gnv.exports.DefaultProfile; | |
11 | |
12 import de.intevation.gnv.exports.Export.Profile; | |
13 | |
14 import de.intevation.gnv.exports.ShapeDataCollector; | |
15 | |
16 import de.intevation.gnv.geobackend.base.Result; | |
17 | |
18 import de.intevation.gnv.state.InputData; | |
19 | |
20 import de.intevation.gnv.state.describedata.KeyValueDescibeData; | |
21 | |
22 import de.intevation.gnv.state.exception.StateException; | |
23 | |
24 import de.intevation.gnv.state.timeseries.TimeSeriesOutputState; | |
25 | |
26 import de.intevation.gnv.statistics.HorizontalProfileStatistics; | |
27 import de.intevation.gnv.statistics.Statistics; | |
28 | |
29 import de.intevation.gnv.utils.InputValidator; | |
30 import de.intevation.gnv.utils.WKTUtils; | |
31 | 2 |
32 import java.io.IOException; | 3 import java.io.IOException; |
33 import java.io.OutputStream; | 4 import java.io.OutputStream; |
34 import java.io.UnsupportedEncodingException; | 5 import java.io.UnsupportedEncodingException; |
35 | |
36 import java.text.ParseException; | 6 import java.text.ParseException; |
37 import java.text.SimpleDateFormat; | 7 import java.text.SimpleDateFormat; |
38 | |
39 import java.util.Collection; | 8 import java.util.Collection; |
40 import java.util.Date; | 9 import java.util.Date; |
41 import java.util.Iterator; | 10 import java.util.Iterator; |
42 import java.util.Locale; | 11 import java.util.Locale; |
43 | 12 |
44 import org.apache.log4j.Logger; | 13 import org.apache.log4j.Logger; |
45 | |
46 import org.jfree.chart.ChartTheme; | 14 import org.jfree.chart.ChartTheme; |
15 | |
16 import de.intevation.artifacts.CallContext; | |
17 import de.intevation.gnv.chart.Chart; | |
18 import de.intevation.gnv.chart.ChartLabels; | |
19 import de.intevation.gnv.chart.HorizontalProfileChart; | |
20 import de.intevation.gnv.exports.DefaultExport; | |
21 import de.intevation.gnv.exports.DefaultProfile; | |
22 import de.intevation.gnv.exports.ShapeDataCollector; | |
23 import de.intevation.gnv.exports.Export.Profile; | |
24 import de.intevation.gnv.geobackend.base.Result; | |
25 import de.intevation.gnv.state.InputData; | |
26 import de.intevation.gnv.state.describedata.KeyValueDescibeData; | |
27 import de.intevation.gnv.state.exception.StateException; | |
28 import de.intevation.gnv.state.timeseries.TimeSeriesOutputState; | |
29 import de.intevation.gnv.statistics.HorizontalProfileStatistics; | |
30 import de.intevation.gnv.statistics.Statistics; | |
31 import de.intevation.gnv.utils.InputValidator; | |
32 import de.intevation.gnv.utils.WKTUtils; | |
47 | 33 |
48 /** | 34 /** |
49 * This <code>OutputState</code> is used for 'Horizontalprofile' products. | 35 * This <code>OutputState</code> is used for 'Horizontalprofile' products. |
50 * | 36 * |
51 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> | 37 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> |
299 * | 285 * |
300 * @param locale The Locale used to adjust the language of the subtitle. | 286 * @param locale The Locale used to adjust the language of the subtitle. |
301 * @param result A data object. | 287 * @param result A data object. |
302 * @return the start coordinate as human readable string. | 288 * @return the start coordinate as human readable string. |
303 */ | 289 */ |
304 @SuppressWarnings("static-access") | |
305 protected String createMetaChartSubtitle(Locale locale, Result result) { | 290 protected String createMetaChartSubtitle(Locale locale, Result result) { |
306 log.debug("Fetch meta information and put it into subtitle."); | 291 log.debug("Fetch meta information and put it into subtitle."); |
307 if (result == null) | 292 if (result == null) |
308 return ""; | 293 return ""; |
309 | 294 |