Mercurial > dive4elements > gnv-client
changeset 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 (2010-03-03) |
parents | e5f1e868ee3e |
children | 83f8f98a4f11 |
files | gnv-artifacts/ChangeLog gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java |
diffstat | 2 files changed, 8 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog Wed Mar 03 13:44:15 2010 +0000 +++ b/gnv-artifacts/ChangeLog Wed Mar 03 15:05:12 2010 +0000 @@ -1,3 +1,11 @@ +2010-03-03 Ingo Weinzierl <ingo.weinzierl@intevation.de> + + Issue146 + + * src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java: + Removed workaround to send a fake document if statistic is requested, + which is not available for this product type. + 2010-03-03 Ingo Weinzierl <ingo.weinzierl@intevation.de> * src/main/java/de/intevation/gnv/state/timeseries/TimeSeriesOutputState.java:
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java Wed Mar 03 13:44:15 2010 +0000 +++ b/gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontalcrosssection/HorizontalCrossSectionMeshOutputState.java Wed Mar 03 15:05:12 2010 +0000 @@ -204,11 +204,6 @@ getWMS(uuid, callContext), outputStream); } - else if ("statistics".equals(outputMode)) { - // TODO: REMOVE THIS! - try { outputStream.write("<fake/>\n".getBytes()); } - catch (IOException ioe) {} - } else { throw new StateException("unsupported output mode"); }