diff --git a/src/main/java/com/avaje/ebean/PagedList.java b/src/main/java/com/avaje/ebean/PagedList.java index 5aeef1895..3bd67beae 100644 --- a/src/main/java/com/avaje/ebean/PagedList.java +++ b/src/main/java/com/avaje/ebean/PagedList.java @@ -44,30 +44,6 @@ import java.util.concurrent.Future; * * } * - *
{@code
- *
- * // We want to find the first 100 new orders
- * // ... 0 means first page
- * // ... page size is 100
- *
- * PagedList pagedList
- * = ebeanServer.find(Order.class)
- * .where().eq("status", Order.Status.NEW)
- * .order().asc("id")
- * .findPagedList(0, 100);
- *
- * // Optional: initiate the loading of the total
- * // row count in a background thread
- * pagedList.loadRowCount();
- *
- * // fetch and return the list in the foreground thread
- * List orders = pagedList.getList();
- *
- * // get the total row count (from the future)
- * int totalRowCount = pagedList.getTotalRowCount();
- *
- * }
*
* {@code