Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/server/ArtifactDescriptionFactory.java @ 836:0fe456332785
Datacage: s/db-ids/ids/g to unify system and user specific loading.
flys-client/trunk@2551 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 24 Aug 2011 10:35:38 +0000 |
parents | 3187b268b311 |
children | 6a1cd38e6e18 |
comparison
equal
deleted
inserted
replaced
835:c89a42950d11 | 836:0fe456332785 |
---|---|
488 Recommendation[] rec = new Recommendation[num]; | 488 Recommendation[] rec = new Recommendation[num]; |
489 | 489 |
490 for (int i = 0; i < num; i++) { | 490 for (int i = 0; i < num; i++) { |
491 Element e = (Element) list.item(i); | 491 Element e = (Element) list.item(i); |
492 String factory = e.getAttribute("factory"); | 492 String factory = e.getAttribute("factory"); |
493 String index = e.getAttribute("db-ids"); | 493 String index = e.getAttribute("ids"); |
494 | 494 |
495 if (factory != null && factory.length() > 0) { | 495 if (factory != null && factory.length() > 0) { |
496 rec[i] = new DefaultRecommendation(factory, index); | 496 rec[i] = new DefaultRecommendation(factory, index); |
497 } | 497 } |
498 } | 498 } |