Skip to content

Commit 2fa14ab

Browse files
committed
Make the PagingLimitEndpoint return itself correctly
1 parent 3e23036 commit 2fa14ab

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
11
package me.proxer.library.api;
22

3+
import javax.annotation.Nonnull;
4+
import javax.annotation.Nullable;
5+
36
/**
47
* Interface for classes which implement both {@link PagingEndpoint} and {@link LimitEndpoint}.
58
*
69
* @author Ruben Gees
710
*/
811
public interface PagingLimitEndpoint<T> extends PagingEndpoint<T>, LimitEndpoint<T> {
12+
13+
@Override
14+
@Nonnull
15+
PagingLimitEndpoint<T> page(@Nullable Integer page);
16+
17+
@Override
18+
@Nonnull
19+
PagingLimitEndpoint<T> limit(@Nullable Integer limit);
920
}

0 commit comments

Comments
 (0)