Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/exports/AbstractExporter.java @ 2038:f73036b991e2
Bugfix: repaired broken named values in exports - the last solution had bad side effects.
flys-artifacts/trunk@3515 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 21 Dec 2011 15:44:41 +0000 |
parents | 3ebbe497d7f7 |
children | 0318fa6f0844 |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/AbstractExporter.java Wed Dec 21 11:56:08 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/AbstractExporter.java Wed Dec 21 15:44:41 2011 +0000 @@ -124,10 +124,7 @@ return; } - Object data = artifactFacet.getData(context); - prepareData(artifactFacet, data); - - addData(data); + addData(artifactFacet.getData(context)); } @@ -205,19 +202,6 @@ /** - * This method can be used to prepare data items before they are injected - * into the exporter using <i>addData()</i>. The method in this - * implementation is empty and doesn't do anything. - * - * @param aaf The wrapper for the Artifact and Facet. - * @param data The data object. - */ - protected void prepareData(ArtifactAndFacet aaf, Object data) { - // override me in subclasses - } - - - /** * This method starts CSV creation. It makes use of writeCSVData() which has * to be implemented by concrete subclasses. */