diff --git a/src/games/stendhal/common/filter/CollectionFilter.java b/src/games/stendhal/common/filter/CollectionFilter.java index 3df2398d4b4..375015659f1 100644 --- a/src/games/stendhal/common/filter/CollectionFilter.java +++ b/src/games/stendhal/common/filter/CollectionFilter.java @@ -1,5 +1,4 @@ /* $Id$ */ -/* found on javaworld.com */ package games.stendhal.common.filter; import java.lang.reflect.Constructor; @@ -10,18 +9,12 @@ import org.apache.log4j.Logger; /** - *

- * Title: CollectionFilter. - *

- *

- * Description: - *

+ * Source: https://www.infoworld.com/article/2072996/filter-collections.html (originally found on javaworld.com) * * @author David Rappoport * @version 1.0 * @param generic type of collection elements */ - public class CollectionFilter { private static Logger logger = Logger.getLogger(CollectionFilter.class); diff --git a/src/games/stendhal/common/filter/FilterCriteria.java b/src/games/stendhal/common/filter/FilterCriteria.java index 061281e9753..3be6aa89808 100644 --- a/src/games/stendhal/common/filter/FilterCriteria.java +++ b/src/games/stendhal/common/filter/FilterCriteria.java @@ -1,16 +1,15 @@ /* $Id$ */ -/* found on javaworld.com */ package games.stendhal.common.filter; /** - *

Title: FilterCriteria

- *

Description: A FilterCriteria is added to the CollectionFilter to filter - * all the objects in the collection.

+ * A `FilterCriteria` is added to the `CollectionFilter` to filter all the objects in the collection. + * + * Source: https://www.infoworld.com/article/2072996/filter-collections.html (originally found on javaworld.com) + * * @author David Rappoport * @version 1.0 * @param type of the item to check. */ - public interface FilterCriteria { /**