From 52f25eb9e9340c1f3e5dba5079abf5f9afb00833 Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Sun, 22 Oct 2023 18:55:20 -0700 Subject: [PATCH] Link to source of FilterCriteria & CollectionFilter classes --- src/games/stendhal/common/filter/CollectionFilter.java | 9 +-------- src/games/stendhal/common/filter/FilterCriteria.java | 9 ++++----- 2 files changed, 5 insertions(+), 13 deletions(-) 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 { /**