Mercurial > dive4elements > river
changeset 884:ace7e9cfbb7f
Fixed some bugs that avoided datacage usage.
flys-client/trunk@2718 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 13 Sep 2011 11:31:53 +0000 |
parents | cd286de8f2ad |
children | eeea6a02d62c |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java flys-client/src/main/java/de/intevation/flys/client/shared/model/ArtifactFilter.java |
diffstat | 3 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Tue Sep 13 10:47:28 2011 +0000 +++ b/flys-client/ChangeLog Tue Sep 13 11:31:53 2011 +0000 @@ -1,3 +1,12 @@ +2011-09-13 Ingo Weinzierl <ingo@intevation.de> + + * src/main/java/de/intevation/flys/client/shared/model/ArtifactFilter.java: + Call default constructor in parameterized constructor to initialize data + structures. + + * src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java: + Repaired broken if-statement that avoided adding new DatacageHandlers. + 2011-09-13 Ingo Weinzierl <ingo@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/OutputTab.java: Added
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java Tue Sep 13 10:47:28 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageWidget.java Tue Sep 13 11:31:53 2011 +0000 @@ -122,7 +122,7 @@ } public void addDatacageHandler(DatacageHandler handler) { - if (handlers.contains(handler)) { + if (!handlers.contains(handler)) { handlers.add(handler); } }
--- a/flys-client/src/main/java/de/intevation/flys/client/shared/model/ArtifactFilter.java Tue Sep 13 10:47:28 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/shared/model/ArtifactFilter.java Tue Sep 13 11:31:53 2011 +0000 @@ -18,6 +18,7 @@ } public ArtifactFilter(String factoryName) { + this(); this.factoryName = factoryName; }