Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java @ 4036:10e20830e4e9
Use static method from class not object.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 04 Oct 2012 16:40:08 +0200 |
parents | 97ad960f5579 |
children | 3dc26ec2558d |
comparison
equal
deleted
inserted
replaced
4035:470a61d644cd | 4036:10e20830e4e9 |
---|---|
248 else { | 248 else { |
249 logger.debug("its wkms time, baby"); | 249 logger.debug("its wkms time, baby"); |
250 WKms data = (WKms) wqkms; | 250 WKms data = (WKms) wqkms; |
251 // Assume its WKms. | 251 // Assume its WKms. |
252 double location = getRange()[0]; | 252 double location = getRange()[0]; |
253 double w = ((StaticWKmsArtifact) aandf.getArtifact()) | 253 double w = StaticWKmsArtifact.getWAtKmLin(data, getRange()[0]); |
254 .getWAtKmLin(data, getRange()[0]); | |
255 xy.add(new StickyAxisAnnotation(aandf.getFacetDescription(), | 254 xy.add(new StickyAxisAnnotation(aandf.getFacetDescription(), |
256 (float) w, StickyAxisAnnotation.SimpleAxis.Y_AXIS)); | 255 (float) w, StickyAxisAnnotation.SimpleAxis.Y_AXIS)); |
257 | 256 |
258 doAnnotations(new FLYSAnnotation(facet.getDescription(), xy), | 257 doAnnotations(new FLYSAnnotation(facet.getDescription(), xy), |
259 aandf, theme, visible); | 258 aandf, theme, visible); |