# HG changeset patch # User Felix Wolfsteller # Date 1373007717 -7200 # Node ID 24ca2f683c0073f4e13c467a61be1abca274efc1 # Parent 4c463ca9b36ee1a03743ae7640e957fc64df3133 Doc, yay, adds color. diff -r 4c463ca9b36e -r 24ca2f683c00 gwt-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultCollection.java --- a/gwt-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultCollection.java Thu Jul 04 12:12:37 2013 +0200 +++ b/gwt-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultCollection.java Fri Jul 05 09:01:57 2013 +0200 @@ -284,6 +284,10 @@ } + /** + * Returns true if a recommendation with given factory and id + * is already member of this collection. + */ public boolean loadedRecommendation(Recommendation recommendation) { String factory = recommendation.getFactory(); String dbids = recommendation.getIDs();