Mercurial > dive4elements > river
changeset 3137:3b6ab6fac843
FixA: Fixed problem with select the wrong meta data (date, descriptions, etc.) for a data column.
flys-artifacts/trunk@4745 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 21 Jun 2012 14:26:34 +0000 (2012-06-21) |
parents | f12a8ed8d973 |
children | 9c147bbffc36 |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Thu Jun 21 13:48:26 2012 +0000 +++ b/flys-artifacts/ChangeLog Thu Jun 21 14:26:34 2012 +0000 @@ -1,3 +1,9 @@ +2012-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> + + * src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java: + Fixed problem with select the wrong meta data (date, descriptions, etc.) + for a data column. + 2012-06-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> * src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java Thu Jun 21 13:48:26 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixCalculation.java Thu Jun 21 14:26:34 2012 +0000 @@ -191,7 +191,7 @@ && Math.abs(ws[i]-w) < EPSILON) { Column column = eventColumns.get(i); return new QWD( - q, w, + qs[i], ws[i], column.getDescription(), column.getDate(), interpolated[i], @@ -309,7 +309,7 @@ addProblem("fix.cannot.load.data"); } else { - columns.add(new Column(metas.get(0), data)); + columns.add(new Column(meta, data)); } }