Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java @ 4147:db0b9cff8496
Cosmetics, documentation.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 16 Oct 2012 11:33:23 +0200 |
parents | 58864f4f6e3b |
children | 33d6d4025d0f |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java Tue Oct 16 11:15:12 2012 +0200 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java Tue Oct 16 11:33:23 2012 +0200 @@ -55,6 +55,7 @@ extends FixChartGenerator implements FacetTypes { + /** Private logger. */ private static Logger logger = Logger.getLogger(FixWQCurveGenerator.class); @@ -92,6 +93,7 @@ } + /** Needed to access data to create subtitle. */ private FLYSArtifact artifact; @@ -365,13 +367,13 @@ Double ckm = (Double) context.getContextValue(CURRENT_KM); double location = (ckm != null) ? ckm.doubleValue() - : getRange()[0]; - double w = StaticWKmsArtifact.getWAtKmLin(data, location); - xy.add(new StickyAxisAnnotation(aandf.getFacetDescription(), - (float) w, StickyAxisAnnotation.SimpleAxis.Y_AXIS)); + : getRange()[0]; + double w = StaticWKmsArtifact.getWAtKmLin(data, location); + xy.add(new StickyAxisAnnotation(aandf.getFacetDescription(), + (float) w, StickyAxisAnnotation.SimpleAxis.Y_AXIS)); - doAnnotations(new FLYSAnnotation(facet.getDescription(), xy), - aandf, theme, visible); + doAnnotations(new FLYSAnnotation(facet.getDescription(), xy), + aandf, theme, visible); } }