diff flys-client/src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java @ 839:6a1cd38e6e18

Made Recommendation a class for direct use. flys-client/trunk@2559 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 24 Aug 2011 13:14:42 +0000
parents 0fe456332785
children ec5c75da5c7a
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java	Wed Aug 24 12:16:41 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/server/DescribeCollectionServiceImpl.java	Wed Aug 24 13:14:42 2011 +0000
@@ -31,7 +31,6 @@
 import de.intevation.flys.client.shared.model.DefaultCollection;
 import de.intevation.flys.client.shared.model.DefaultCollectionItem;
 import de.intevation.flys.client.shared.model.DefaultFacet;
-import de.intevation.flys.client.shared.model.DefaultRecommendation;
 import de.intevation.flys.client.shared.model.ChartMode;
 import de.intevation.flys.client.shared.model.ExportMode;
 import de.intevation.flys.client.shared.model.MapMode;
@@ -425,7 +424,7 @@
             String dbids   = rec.getAttributeNS(uri, "ids");
 
             if (factory != null && factory.length() > 0) {
-                recs.add(new DefaultRecommendation(factory, dbids));
+                recs.add(new Recommendation(factory, dbids));
             }
         }
 

http://dive4elements.wald.intevation.org