# HG changeset patch # User Felix Wolfsteller # Date 1378474676 -7200 # Node ID 458f20eeb65c0295a922c90087a1f4c6d4f45257 # Parent b4faf69ad1d0be9306a492f75deb0d834ea871f0 Doc. diff -r b4faf69ad1d0 -r 458f20eeb65c artifacts/src/main/java/org/dive4elements/river/collections/CollectionAttribute.java --- a/artifacts/src/main/java/org/dive4elements/river/collections/CollectionAttribute.java Fri Sep 06 15:36:59 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/collections/CollectionAttribute.java Fri Sep 06 15:37:56 2013 +0200 @@ -66,6 +66,7 @@ } + /** Remove outputs without facets from outputMap. */ public void cleanEmptyOutputs() { if (outputMap == null) { return; @@ -112,7 +113,7 @@ public void addFacet(String outputKey, Facet facet) { if (facet == null) { - logger.warn("Tried to add empty facet."); + logger.warn("Tried to add null facet."); return; } @@ -139,6 +140,7 @@ } + /** Empty facets list for outputKey output. */ public void clearFacets(String outputKey) { if (outputKey == null || outputKey.length() == 0) { logger.warn("Tried to clear Facets, but no Output key specified!");