comparison artifacts/src/main/java/org/dive4elements/river/exports/process/ManualPointsProcessor.java @ 8202:e4606eae8ea5

sed src/**/*.java 's/logger/log/g'
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 05 Sep 2014 12:58:17 +0200
parents c64c04d0796e
children 5e38e2924c07
comparison
equal deleted inserted replaced
8201:4b8c5a08de04 8202:e4606eae8ea5
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 logger = Logger.getLogger(ManualPointsProcessor.class); 34 private static final Logger log = Logger.getLogger(ManualPointsProcessor.class);
35 35
36 @Override 36 @Override
37 public void doOut( 37 public void doOut(
38 DiagramGenerator generator, 38 DiagramGenerator generator,
39 ArtifactAndFacet bundle, 39 ArtifactAndFacet bundle,
56 String name = array.getString(2); 56 String name = array.getString(2);
57 boolean act = array.getBoolean(3); 57 boolean act = array.getBoolean(3);
58 if (!act) { 58 if (!act) {
59 continue; 59 continue;
60 } 60 }
61 //logger.debug(" x " + x + " y " + y ); 61 //log.debug(" x " + x + " y " + y );
62 series.add(x, y, false); 62 series.add(x, y, false);
63 xy.add(new CollisionFreeXYTextAnnotation(name, x, y)); 63 xy.add(new CollisionFreeXYTextAnnotation(name, x, y));
64 } 64 }
65 } 65 }
66 catch(JSONException e){ 66 catch(JSONException e){
67 logger.error("Could not decode json."); 67 log.error("Could not decode json.");
68 } 68 }
69 69
70 RiverAnnotation annotation = new RiverAnnotation(null, null, null, theme); 70 RiverAnnotation annotation = new RiverAnnotation(null, null, null, theme);
71 annotation.setTextAnnotations(xy); 71 annotation.setTextAnnotations(xy);
72 72

http://dive4elements.wald.intevation.org