# HG changeset patch # User Felix Wolfsteller # Date 1312894784 0 # Node ID 11fd6557d0fc83f319b1d667be7a9bf139a900a1 # Parent 2c004a40b1e16939ac526f3f56c6dbb07eb73293 UI: Cosmetics in log messages of CollectionView. flys-client/trunk@2477 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 2c004a40b1e1 -r 11fd6557d0fc flys-client/ChangeLog --- a/flys-client/ChangeLog Tue Aug 09 10:21:15 2011 +0000 +++ b/flys-client/ChangeLog Tue Aug 09 12:59:44 2011 +0000 @@ -1,3 +1,8 @@ +2011-08-09 Felix Wolfsteller + + * src/main/java/de/intevation/flys/client/client/ui/CollectionView.java: + Changed log message for two distinct malconditions. + 2011-08-09 Felix Wolfsteller * src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties: diff -r 2c004a40b1e1 -r 11fd6557d0fc flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java --- 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)) {