Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/process/ManualPointsProcessor.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 | e4606eae8ea5 |
children | 1cc7653ca84f 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
29 import org.dive4elements.river.jfree.StyledXYSeries; | 29 import org.dive4elements.river.jfree.StyledXYSeries; |
30 import org.dive4elements.river.themes.ThemeDocument; | 30 import org.dive4elements.river.themes.ThemeDocument; |
31 | 31 |
32 public class ManualPointsProcessor extends DefaultProcessor { | 32 public class ManualPointsProcessor extends DefaultProcessor { |
33 | 33 |
34 private static final Logger log = Logger.getLogger(ManualPointsProcessor.class); | 34 private static final Logger log = Logger.getLogger( |
35 ManualPointsProcessor.class); | |
35 | 36 |
36 @Override | 37 @Override |
37 public void doOut( | 38 public void doOut( |
38 DiagramGenerator generator, | 39 DiagramGenerator generator, |
39 ArtifactAndFacet bundle, | 40 ArtifactAndFacet bundle, |
65 } | 66 } |
66 catch(JSONException e){ | 67 catch(JSONException e){ |
67 log.error("Could not decode json."); | 68 log.error("Could not decode json."); |
68 } | 69 } |
69 | 70 |
70 RiverAnnotation annotation = new RiverAnnotation(null, null, null, theme); | 71 RiverAnnotation annotation = new RiverAnnotation( |
72 null, null, null, theme); | |
71 annotation.setTextAnnotations(xy); | 73 annotation.setTextAnnotations(xy); |
72 | 74 |
73 if (visible) { | 75 if (visible) { |
74 generator.addAnnotations(annotation); | 76 generator.addAnnotations(annotation); |
75 } | 77 } |