Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/exports/process/SQRelationProcessor.java @ 8856:5e38e2924c07 3.2.x
Fix code style.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 18 Jan 2018 20:12:01 +0100 |
parents | 717b58b158c9 |
children | 1cc7653ca84f 0a5239a1e46e |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/SQRelationProcessor.java Thu Jan 18 20:10:59 2018 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/SQRelationProcessor.java Thu Jan 18 20:12:01 2018 +0100 @@ -79,7 +79,8 @@ series = new StyledXYSeries(desc, theme); List<XYTextAnnotation> xy = new ArrayList<XYTextAnnotation>(); - DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.SHORT, + DateFormat dateFormat = DateFormat.getDateInstance( + DateFormat.SHORT, Resources.getLocale(context.getMeta())); for (SQ sq: sqs) { @@ -89,14 +90,16 @@ series.add(q, s, false); // Annotate with measurement date if (sq.getDate() != null) { - xy.add(new CollisionFreeXYTextAnnotation(dateFormat.format(sq.getDate()), q, s)); + xy.add(new CollisionFreeXYTextAnnotation( + dateFormat.format(sq.getDate()), q, s)); } } } if (visible && theme.parseShowPointLabel()) { - RiverAnnotation annotation = new RiverAnnotation("Messdatum", null, null, theme); + RiverAnnotation annotation = new RiverAnnotation( + "Messdatum", null, null, theme); annotation.setTextAnnotations(xy); generator.addAnnotations(annotation); }