# HG changeset patch # User Ingo Weinzierl # Date 1327929820 0 # Node ID 45f7762767e2154fa30f759aae4c031537e9ef19 # Parent 1db66b88868f59121ccf252891b4ec642bdcc396 Bugfix: use correct order of parameters to call DefaultStateData constructor. flys-artifacts/trunk@3828 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 1db66b88868f -r 45f7762767e2 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Mon Jan 30 10:54:38 2012 +0000 +++ b/flys-artifacts/ChangeLog Mon Jan 30 13:23:40 2012 +0000 @@ -1,3 +1,8 @@ +2012-01-30 Ingo Weinzierl + + * src/main/java/de/intevation/flys/artifacts/states/StateFactory.java: + Bugfix: use correct order of parameters in DefaultStateData constructor. + 2012-01-30 Ingo Weinzierl * doc/conf/artifacts/winfo.xml: Fixed a stupid bug. Use diff -r 1db66b88868f -r 45f7762767e2 flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/StateFactory.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/StateFactory.java Mon Jan 30 10:54:38 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/StateFactory.java Mon Jan 30 13:23:40 2012 +0000 @@ -114,7 +114,8 @@ type = "string"; } - state.addData(name, new DefaultStateData(name, type, desc)); + logger.debug("add StateData '" + name + "' (type '" + type + "')"); + state.addData(name, new DefaultStateData(name, desc, type)); } } }