Mercurial > dive4elements > river
changeset 7569:3cbf8bab1a0f
issue1020: Added pointers as comments in code.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 14 Nov 2013 06:44:11 +0100 (2013-11-14) |
parents | f01379dfeab4 |
children | f4c13fbde072 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/states/FloodMapState.java |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/FloodMapState.java Wed Nov 13 12:00:21 2013 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/FloodMapState.java Thu Nov 14 06:44:11 2013 +0100 @@ -933,6 +933,9 @@ } catch (NumberFormatException nfe) { /* do nothing */ } + // issue1020: Other kinds of artifacts might calculate other stuff than + // WQKms or provide data in more static manner (shiver). + D4EArtifact src = otherArtifact != null ? RiverUtils.getArtifact(otherArtifact, cc) : flys; @@ -984,6 +987,8 @@ writeWspTag = false; } + // TODO issue1020: data might be something different than wqkms, + // abstract this here a little away. for (int i = 0, num = data.size(); i < num; i++) { data.get(i, buf); writer.add(buf);