Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/DatacageTwinPanel.java @ 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 | 661faf99d240 |
children | 3999162f474f |
comparison
equal
deleted
inserted
replaced
6616:03cc3bc74964 | 6617:67b4728723df |
---|---|
285 if (recommendation.getIDs() != null) { | 285 if (recommendation.getIDs() != null) { |
286 GWT.log("Setting staticwkms factory for rec with ID " | 286 GWT.log("Setting staticwkms factory for rec with ID " |
287 + recommendation.getIDs()); | 287 + recommendation.getIDs()); |
288 recommendation.setFactory("staticwkms"); | 288 recommendation.setFactory("staticwkms"); |
289 } | 289 } |
290 /* | |
291 // So far, we do not need to rewrite the factory anymore, | |
292 // except for staticwkms; probably other cases will pop up later. | |
290 else if (recommendation.getFactory().equals("winfo")) { | 293 else if (recommendation.getFactory().equals("winfo")) { |
291 GWT.log("Setting waterlevel factory for a winfo rec."); | 294 GWT.log("Setting waterlevel factory for a winfo rec."); |
292 recommendation.setFactory("waterlevel"); | 295 recommendation.setFactory("waterlevel"); |
293 } | 296 } |
297 */ | |
294 else { | 298 else { |
295 GWT.log("Leave rec. id " + recommendation.getIDs() + ", factory " | 299 GWT.log("Leave rec. id " + recommendation.getIDs() + ", factory " |
296 + recommendation.getFactory() + " untouched."); | 300 + recommendation.getFactory() + " untouched."); |
297 } | 301 } |
298 } | 302 } |