# HG changeset patch # User Felix Wolfsteller # Date 1350380003 -7200 # Node ID db0b9cff849650304aa79725315a03213b04ee1b # Parent 58864f4f6e3b87f120f94d589c415d1e57601749 Cosmetics, documentation. diff -r 58864f4f6e3b -r db0b9cff8496 flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java Tue Oct 16 11:15:12 2012 +0200 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java Tue Oct 16 11:33:23 2012 +0200 @@ -113,6 +113,7 @@ facets = new HashMap>(); } + /** * This method appends the static data - that has already been inserted by * the user - to the static node of the DESCRIBE document. @@ -258,6 +259,7 @@ return copy; } + /** * Return a copy of the facet mapping. * @return Mapping of state-ids to facets. @@ -411,6 +413,7 @@ return doc; } + /** * This method returns a description of this artifact. * diff -r 58864f4f6e3b -r db0b9cff8496 flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java --- 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); } } diff -r 58864f4f6e3b -r db0b9cff8496 flys-client/src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java --- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java Tue Oct 16 11:15:12 2012 +0200 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/FacetRecord.java Tue Oct 16 11:33:23 2012 +0200 @@ -8,6 +8,7 @@ */ public class FacetRecord extends ListGridRecord { + /** Underlying theme. */ protected Theme theme;