diff --git a/ebean-api/src/main/java/io/ebean/EmptyPagedList.java b/ebean-api/src/main/java/io/ebean/EmptyPagedList.java index 74886c985..4f365b472 100644 --- a/ebean-api/src/main/java/io/ebean/EmptyPagedList.java +++ b/ebean-api/src/main/java/io/ebean/EmptyPagedList.java @@ -5,6 +5,8 @@ import java.util.List; import java.util.concurrent.Future; /** + * @deprecated migrate to using {@link PagedList#emptyList()} only. + *

* An empty PagedList. *

* For use in application code when we need to return a PagedList but don't want to @@ -17,7 +19,8 @@ import java.util.concurrent.Future; * * } */ -public class EmptyPagedList implements PagedList { +@Deprecated(forRemoval = true) +public final class EmptyPagedList implements PagedList { @Override public void loadCount() {