Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/ComputedDischargeCurveGenerator.java @ 4047:3dc26ec2558d
Removed dead code
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sat, 06 Oct 2012 11:08:24 +0200 |
parents | 10e20830e4e9 |
children | 0bb57e72b8ea |
comparison
equal
deleted
inserted
replaced
4046:ca208b2f35a0 | 4047:3dc26ec2558d |
---|---|
94 if (name == null) { | 94 if (name == null) { |
95 logger.warn("Broken facet in computed discharge out generation."); | 95 logger.warn("Broken facet in computed discharge out generation."); |
96 return; | 96 return; |
97 } | 97 } |
98 | 98 |
99 Facet facet = artifactFacet.getFacet(); | 99 //XXX DEAD CODE // Facet facet = artifactFacet.getFacet(); |
100 | 100 |
101 if (name.equals(COMPUTED_DISCHARGE_Q)) { | 101 if (name.equals(COMPUTED_DISCHARGE_Q)) { |
102 doQOut((WQKms) artifactFacet.getData(context), artifactFacet, attr, visible); | 102 doQOut((WQKms) artifactFacet.getData(context), artifactFacet, attr, visible); |
103 } | 103 } |
104 else if (name.equals(STATIC_WQ)) { | 104 else if (name.equals(STATIC_WQ)) { |
247 } | 247 } |
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 // XXX DEAD CODE // double location = getRange()[0]; |
253 double w = StaticWKmsArtifact.getWAtKmLin(data, getRange()[0]); | 253 double w = StaticWKmsArtifact.getWAtKmLin(data, getRange()[0]); |
254 xy.add(new StickyAxisAnnotation(aandf.getFacetDescription(), | 254 xy.add(new StickyAxisAnnotation(aandf.getFacetDescription(), |
255 (float) w, StickyAxisAnnotation.SimpleAxis.Y_AXIS)); | 255 (float) w, StickyAxisAnnotation.SimpleAxis.Y_AXIS)); |
256 | 256 |
257 doAnnotations(new FLYSAnnotation(facet.getDescription(), xy), | 257 doAnnotations(new FLYSAnnotation(facet.getDescription(), xy), |