changeset 3136:f12a8ed8d973

FixA: Fixed stupid i/j switch bug. flys-artifacts/trunk@4744 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 21 Jun 2012 13:48:26 +0000
parents d7bc53701b08
children 3b6ab6fac843
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Thu Jun 21 13:17:44 2012 +0000
+++ b/flys-artifacts/ChangeLog	Thu Jun 21 13:48:26 2012 +0000
@@ -1,3 +1,8 @@
+2012-06-20	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java:
+	  Fixed stupid i/j switch bug.
+
 2012-06-21  Raimund Renkert <raimund.renkert@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java	Thu Jun 21 13:17:44 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/FixingsFilterBuilder.java	Thu Jun 21 13:48:26 2012 +0000
@@ -180,7 +180,7 @@
                 }
                 int [] cids = new int[ids.size()];
                 for (int j = 0; j < cids.length; ++j) {
-                    cids[i] = ids.get(j);
+                    cids[j] = ids.get(j);
                 }
                 filters.add(new IdsFilter(cids));
             }

http://dive4elements.wald.intevation.org