Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java @ 641:8d2bd52f05e3
Removed workaround to send a fake document if statistic is requested for 'Horizontalschnitte' - no statistic available for this product type (issue146).
gnv-artifacts/trunk@727 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 03 Mar 2010 15:05:12 +0000 |
parents | 65f09139e9b3 |
children | c8749d83d9b6 |
comparison
equal
deleted
inserted
replaced
640:e5f1e868ee3e | 641:8d2bd52f05e3 |
---|---|
201 } | 201 } |
202 else if ("wms".equals(outputMode)) { | 202 else if ("wms".equals(outputMode)) { |
203 XMLUtils.toStream( | 203 XMLUtils.toStream( |
204 getWMS(uuid, callContext), | 204 getWMS(uuid, callContext), |
205 outputStream); | 205 outputStream); |
206 } | |
207 else if ("statistics".equals(outputMode)) { | |
208 // TODO: REMOVE THIS! | |
209 try { outputStream.write("<fake/>\n".getBytes()); } | |
210 catch (IOException ioe) {} | |
211 } | 206 } |
212 else { | 207 else { |
213 throw new StateException("unsupported output mode"); | 208 throw new StateException("unsupported output mode"); |
214 } | 209 } |
215 } | 210 } |