Mercurial > dive4elements > river
changeset 6617:67b4728723df
Do not fiddle with the factory name of recommendations for differences anymore.
This fixes differences of regular winfo artifacts and I have not yet observed
side effects, as the factories from the meta-data seem to be all correct.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 19 Jul 2013 10:04:47 +0200 |
parents | 03cc3bc74964 |
children | e8e76d50d119 |
files | gwt-client/src/main/java/org/dive4elements/river/client/client/ui/DatacageTwinPanel.java |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/DatacageTwinPanel.java Fri Jul 19 06:56:30 2013 +0200 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/client/ui/DatacageTwinPanel.java Fri Jul 19 10:04:47 2013 +0200 @@ -287,10 +287,14 @@ + recommendation.getIDs()); recommendation.setFactory("staticwkms"); } + /* + // So far, we do not need to rewrite the factory anymore, + // except for staticwkms; probably other cases will pop up later. else if (recommendation.getFactory().equals("winfo")) { GWT.log("Setting waterlevel factory for a winfo rec."); recommendation.setFactory("waterlevel"); } + */ else { GWT.log("Leave rec. id " + recommendation.getIDs() + ", factory " + recommendation.getFactory() + " untouched.");