Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java @ 819:11fd6557d0fc
UI: Cosmetics in log messages of CollectionView.
flys-client/trunk@2477 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 09 Aug 2011 12:59:44 +0000 |
parents | 8fa303586f14 |
children | 912379835298 |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java Tue Aug 09 10:21:15 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java Tue Aug 09 12:59:44 2011 +0000 @@ -600,10 +600,15 @@ final Collection collection = getCollection(); final Artifact master = getArtifact(); - if (master == null || recommendations == null) { - GWT.log("WARNING: Currently no master artifact set or no recom."); + if (master == null) { + GWT.log("WARNING: Currently no master artifact set."); return; } + if (recommendations == null) { + GWT.log("WARNING: Currently no recommendations."); + return; + } + for (final Recommendation recommendation: recommendations) { if (collection.loadedRecommendation(recommendation)) {